2 instantiations of CSharpArgumentInfo
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\CSharpArgumentInfo.cs (2)
17
internal static readonly CSharpArgumentInfo None = new
CSharpArgumentInfo
(CSharpArgumentInfoFlags.None, null);
42
return new
CSharpArgumentInfo
(flags, name);
120 references to CSharpArgumentInfo
Microsoft.AspNetCore.JsonPatch (5)
Internal\DynamicObjectAdapter.cs (5)
180
new List<
CSharpArgumentInfo
>
182
CSharpArgumentInfo
.Create(CSharpArgumentInfoFlags.None, null)
216
new List<
CSharpArgumentInfo
>
218
CSharpArgumentInfo
.Create(CSharpArgumentInfoFlags.None, null),
219
CSharpArgumentInfo
.Create(CSharpArgumentInfoFlags.None, null)
Microsoft.CSharp (115)
Microsoft\CSharp\RuntimeBinder\ArgumentObject.cs (2)
17
internal readonly
CSharpArgumentInfo
Info;
20
public ArgumentObject(object value,
CSharpArgumentInfo
info, Type type)
Microsoft\CSharp\RuntimeBinder\Binder.cs (18)
28
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
35
IEnumerable<
CSharpArgumentInfo
>? argumentInfo)
83
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
89
IEnumerable<
CSharpArgumentInfo
>? argumentInfo)
102
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
109
IEnumerable<
CSharpArgumentInfo
>? argumentInfo)
122
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
128
IEnumerable<
CSharpArgumentInfo
>? argumentInfo)
150
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
158
IEnumerable<
CSharpArgumentInfo
>? argumentInfo)
188
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
194
IEnumerable<
CSharpArgumentInfo
>? argumentInfo)
224
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
230
IEnumerable<
CSharpArgumentInfo
>? argumentInfo)
245
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
252
IEnumerable<
CSharpArgumentInfo
>? argumentInfo)
267
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
274
IEnumerable<
CSharpArgumentInfo
>? argumentInfo)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (18)
28
IEnumerable<
CSharpArgumentInfo
> arginfos,
35
IEnumerator<
CSharpArgumentInfo
> arginfosEnum = (arginfos ?? Array.Empty<
CSharpArgumentInfo
>()).GetEnumerator();
45
CSharpArgumentInfo
info = arginfosEnum.MoveNext() ? arginfosEnum.Current : null;
185
private static bool IsDynamicallyTypedRuntimeProxy(DynamicMetaObject argument,
CSharpArgumentInfo
info)
207
CSharpArgumentInfo
info)
338
internal static CallInfo CreateCallInfo(ref IEnumerable<
CSharpArgumentInfo
> argInfos, int discard)
356
CSharpArgumentInfo
[] infoArray = ToArray(argInfos);
358
foreach (
CSharpArgumentInfo
info in infoArray)
421
internal static int AddArgHashes(int hash, Type[] typeArguments,
CSharpArgumentInfo
[] argInfos)
431
internal static int AddArgHashes(int hash,
CSharpArgumentInfo
[] argInfos)
433
foreach (
var
argInfo in argInfos)
446
internal static bool CompareArgInfos(Type[] typeArgs, Type[] otherTypeArgs,
CSharpArgumentInfo
[] argInfos,
CSharpArgumentInfo
[] otherArgInfos)
459
internal static bool CompareArgInfos(
CSharpArgumentInfo
[] argInfos,
CSharpArgumentInfo
[] otherArgInfos)
463
var
argInfo = argInfos[i];
464
var
otherArgInfo = otherArgInfos[i];
Microsoft\CSharp\RuntimeBinder\CSharpArgumentInfo.cs (3)
17
internal static readonly
CSharpArgumentInfo
None = new CSharpArgumentInfo(CSharpArgumentInfoFlags.None, null);
36
/// Initializes a new instance of the <see cref="
CSharpArgumentInfo
"/> class.
40
public static
CSharpArgumentInfo
Create(CSharpArgumentInfoFlags flags, string? name)
Microsoft\CSharp\RuntimeBinder\CSharpBinaryOperationBinder.cs (4)
52
private readonly
CSharpArgumentInfo
[] _argumentInfo;
54
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
71
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
78
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
Microsoft\CSharp\RuntimeBinder\CSharpConvertBinder.cs (2)
51
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) =>
CSharpArgumentInfo
.None;
Microsoft\CSharp\RuntimeBinder\CSharpGetIndexBinder.cs (5)
36
private readonly
CSharpArgumentInfo
[] _argumentInfo;
38
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
48
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
52
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
55
_argumentInfo = argumentInfo as
CSharpArgumentInfo
[];
Microsoft\CSharp\RuntimeBinder\CSharpGetMemberBinder.cs (4)
36
private readonly
CSharpArgumentInfo
[] _argumentInfo;
38
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
54
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
60
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
Microsoft\CSharp\RuntimeBinder\CSharpInvokeBinder.cs (5)
42
private readonly
CSharpArgumentInfo
[] _argumentInfo;
44
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
57
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
62
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
67
_argumentInfo = argumentInfo as
CSharpArgumentInfo
[];
Microsoft\CSharp\RuntimeBinder\CSharpInvokeConstructorBinder.cs (3)
29
private readonly
CSharpArgumentInfo
[] _argumentInfo;
31
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
49
IEnumerable<
CSharpArgumentInfo
> argumentInfo)
Microsoft\CSharp\RuntimeBinder\CSharpInvokeMemberBinder.cs (7)
41
private readonly
CSharpArgumentInfo
[] _argumentInfo;
43
public
CSharpArgumentInfo
GetArgumentInfo(int index) => _argumentInfo[index];
45
public
CSharpArgumentInfo
[] ArgumentInfoArray()
47
CSharpArgumentInfo
[] array = new
CSharpArgumentInfo
[_argumentInfo.Length];
63
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
70
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
Microsoft\CSharp\RuntimeBinder\CSharpIsEventBinder.cs (2)
29
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) =>
CSharpArgumentInfo
.None;
Microsoft\CSharp\RuntimeBinder\CSharpSetIndexBinder.cs (5)
36
private readonly
CSharpArgumentInfo
[] _argumentInfo;
38
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
54
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
60
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
64
_argumentInfo = argumentInfo as
CSharpArgumentInfo
[];
Microsoft\CSharp\RuntimeBinder\CSharpSetMemberBinder.cs (4)
34
private readonly
CSharpArgumentInfo
[] _argumentInfo;
36
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
52
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
59
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
Microsoft\CSharp\RuntimeBinder\CSharpUnaryOperationBinder.cs (4)
44
private readonly
CSharpArgumentInfo
[] _argumentInfo;
46
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
60
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
66
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
Microsoft\CSharp\RuntimeBinder\DynamicDebuggerProxy.cs (22)
121
CSharpArgumentInfo
arg1Info =
CSharpArgumentInfo
.Create(arg1Flags, null);
122
CSharpArgumentInfo
arg2Info =
CSharpArgumentInfo
.Create(arg2Flags, null);
129
new
CSharpArgumentInfo
[] { arg1Info, arg2Info });
144
new
CSharpArgumentInfo
[] {
CSharpArgumentInfo
.Create(CSharpArgumentInfoFlags.None, null) }));
152
new
CSharpArgumentInfo
[] {
CSharpArgumentInfo
.Create(CSharpArgumentInfoFlags.None, null) }));
172
out
CSharpArgumentInfo
[] argInfos)
180
argInfos = new
CSharpArgumentInfo
[numberOfArguments];
197
argInfos[i] =
CSharpArgumentInfo
.Create(argFlags[i], null);
243
CSharpArgumentInfo
[] argInfos;
296
new
CSharpArgumentInfo
[] {
CSharpArgumentInfo
.Create(CSharpArgumentInfoFlags.None, null) });
320
CSharpArgumentInfo
[] argInfos;
354
CSharpArgumentInfo
targetArgInfo =
CSharpArgumentInfo
.Create(CSharpArgumentInfoFlags.None, null);
355
CSharpArgumentInfo
valueArgInfo =
CSharpArgumentInfo
.Create(valueFlags, null);
362
new
CSharpArgumentInfo
[] { targetArgInfo, valueArgInfo });
386
CSharpArgumentInfo
[] argInfos;
Microsoft\CSharp\RuntimeBinder\ICSharpBinder.cs (1)
12
CSharpArgumentInfo
GetArgumentInfo(int index);
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (6)
168
CSharpGetMemberBinder getMember = new CSharpGetMemberBinder(callPayload.Name, false, callPayload.CallingContext, new
CSharpArgumentInfo
[] { callPayload.GetArgumentInfo(0) }).TryGetExisting();
172
CSharpArgumentInfo
[] argInfos = callPayload.ArgumentInfoArray();
174
argInfos[0] =
CSharpArgumentInfo
.Create(CSharpArgumentInfoFlags.None, null);
203
private Type GetArgumentType(ICSharpBinder p,
CSharpArgumentInfo
argInfo, Expression param, DynamicMetaObject arg, int index)
254
CSharpArgumentInfo
info = payload.GetArgumentInfo(i);
353
CSharpArgumentInfo
info = arguments[i].Info;