9 [global::__DynamicallyInvokable]
12 private readonly
int _argCount;
18 [global::__DynamicallyInvokable]
21 [global::__DynamicallyInvokable]
30 [global::__DynamicallyInvokable]
33 [global::__DynamicallyInvokable]
43 [global::__DynamicallyInvokable]
44 public CallInfo(
int argCount, params
string[] argNames)
52 [global::__DynamicallyInvokable]
55 ContractUtils.RequiresNotNull(argNames,
"argNames");
57 if (argCount < readOnlyCollection.
Count)
59 throw Error.ArgCntMustBeGreaterThanNameCnt();
61 ContractUtils.RequiresNotNullItems(readOnlyCollection,
"argNames");
63 _argNames = readOnlyCollection;
68 [global::__DynamicallyInvokable]
71 return _argCount ^ _argNames.ListHashCode();
77 [global::__DynamicallyInvokable]
78 public override bool Equals(
object obj)
81 if (_argCount == callInfo._argCount)
83 return _argNames.ListEquals(callInfo._argNames);
CallInfo(int argCount, params string[] argNames)
Creates a new PositionalArgumentInfo.
CallInfo(int argCount, IEnumerable< string > argNames)
Creates a new CallInfo that represents arguments in the dynamic binding process.
int Count
Gets the number of elements contained in the T:System.Collections.ObjectModel.ReadOnlyCollection`1 in...
Exposes the enumerator, which supports a simple iteration over a collection of a specified type....
override bool Equals(object obj)
Determines whether the specified CallInfo instance is considered equal to the current.
ReadOnlyCollection< string > ArgumentNames
The argument names.
int ArgumentCount
The number of arguments.
Describes arguments in the dynamic binding process.
override int GetHashCode()
Serves as a hash function for the current T:System.Dynamic.CallInfo.