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)
51
private readonly
CSharpArgumentInfo
[] _argumentInfo;
53
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
70
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
76
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
Microsoft\CSharp\RuntimeBinder\CSharpConvertBinder.cs (2)
50
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) =>
CSharpArgumentInfo
.None;
Microsoft\CSharp\RuntimeBinder\CSharpGetIndexBinder.cs (5)
35
private readonly
CSharpArgumentInfo
[] _argumentInfo;
37
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
47
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
50
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
53
_argumentInfo = argumentInfo as
CSharpArgumentInfo
[];
Microsoft\CSharp\RuntimeBinder\CSharpGetMemberBinder.cs (4)
35
private readonly
CSharpArgumentInfo
[] _argumentInfo;
37
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
53
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
58
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
Microsoft\CSharp\RuntimeBinder\CSharpInvokeBinder.cs (5)
41
private readonly
CSharpArgumentInfo
[] _argumentInfo;
43
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
56
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
60
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
65
_argumentInfo = argumentInfo as
CSharpArgumentInfo
[];
Microsoft\CSharp\RuntimeBinder\CSharpInvokeConstructorBinder.cs (3)
28
private readonly
CSharpArgumentInfo
[] _argumentInfo;
30
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
47
IEnumerable<
CSharpArgumentInfo
> argumentInfo)
Microsoft\CSharp\RuntimeBinder\CSharpInvokeMemberBinder.cs (7)
40
private readonly
CSharpArgumentInfo
[] _argumentInfo;
42
public
CSharpArgumentInfo
GetArgumentInfo(int index) => _argumentInfo[index];
44
public
CSharpArgumentInfo
[] ArgumentInfoArray()
46
CSharpArgumentInfo
[] array = new
CSharpArgumentInfo
[_argumentInfo.Length];
62
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
68
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
Microsoft\CSharp\RuntimeBinder\CSharpIsEventBinder.cs (2)
28
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) =>
CSharpArgumentInfo
.None;
Microsoft\CSharp\RuntimeBinder\CSharpSetIndexBinder.cs (5)
35
private readonly
CSharpArgumentInfo
[] _argumentInfo;
37
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
53
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
58
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
62
_argumentInfo = argumentInfo as
CSharpArgumentInfo
[];
Microsoft\CSharp\RuntimeBinder\CSharpSetMemberBinder.cs (4)
33
private readonly
CSharpArgumentInfo
[] _argumentInfo;
35
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
51
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
57
IEnumerable<
CSharpArgumentInfo
> argumentInfo) :
Microsoft\CSharp\RuntimeBinder\CSharpUnaryOperationBinder.cs (4)
43
private readonly
CSharpArgumentInfo
[] _argumentInfo;
45
CSharpArgumentInfo
ICSharpBinder.GetArgumentInfo(int index) => _argumentInfo[index];
59
/// <param name="argumentInfo">The sequence of <see cref="
CSharpArgumentInfo
"/> instances for the arguments to this operation.</param>
64
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;