1 type derived from CallSiteBinder
System.Linq.Expressions (1)
System\Dynamic\DynamicMetaObjectBinder.cs (1)
24
public abstract class DynamicMetaObjectBinder :
CallSiteBinder
141 references to CallSiteBinder
Microsoft.AspNetCore.JsonPatch (2)
Internal\DynamicObjectAdapter.cs (2)
176
var
binder = CSharpBinder.Binder.GetMember(
212
var
binder = CSharpBinder.Binder.SetMember(
Microsoft.CSharp (15)
Microsoft\CSharp\RuntimeBinder\Binder.cs (11)
31
public static
CallSiteBinder
BinaryOperation(
59
public static
CallSiteBinder
Convert(
86
public static
CallSiteBinder
GetIndex(
105
public static
CallSiteBinder
GetMember(
125
public static
CallSiteBinder
Invoke(
153
public static
CallSiteBinder
InvokeMember(
191
public static
CallSiteBinder
InvokeConstructor(
209
public static
CallSiteBinder
IsEvent(
227
public static
CallSiteBinder
SetIndex(
248
public static
CallSiteBinder
SetMember(
270
public static
CallSiteBinder
UnaryOperation(
Microsoft\CSharp\RuntimeBinder\DynamicDebuggerProxy.cs (4)
208
private static object CreateDelegateAndInvoke(Type[] delegateSignatureTypes,
CallSiteBinder
binder, object[] args)
252
CallSiteBinder
binder;
329
CallSiteBinder
binder = new CSharpGetIndexBinder(accessibilityContext, argInfos);
395
CallSiteBinder
binder = new CSharpSetIndexBinder(/*isCompoundAssignment */ false, /* isChecked */ false, accessibilityContext, argInfos);
Microsoft.VisualBasic.Core (12)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (12)
274
Dim opBinder As
CallSiteBinder
1116
Private Shared s_binderCache As New CacheSet(Of
CallSiteBinder
)(64)
1139
Private Shared Function GetCachedBinder(ByVal action As
CallSiteBinder
) As
CallSiteBinder
1330
Private Shared Invokers As New CacheDict(Of Integer, Func(Of
CallSiteBinder
, Object, Object(), Object))(16)
1334
ByVal action As
CallSiteBinder
,
1340
Dim Invoker As Func(Of
CallSiteBinder
, Object, Object(), Object) = Nothing
1363
Private Shared Function CreateInvoker(ByVal ArgLength As Integer) As Func(Of
CallSiteBinder
, Object, Object(), Object)
1367
Dim CallSiteBinderType As Type = GetType(
CallSiteBinder
)
1405
Return DirectCast(InvokerMethod.CreateDelegate(GetType(Func(Of
CallSiteBinder
, Object, Object(), Object))), Func(Of
CallSiteBinder
, Object, Object(), Object))
1410
ByVal action As
CallSiteBinder
,
netstandard (1)
netstandard.cs (1)
1505
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.
CallSiteBinder
))]
PresentationFramework-SystemCore (2)
DynamicAccessorImpl.cs (2)
80
createMethod = callsiteType.GetMethod("Create", new Type[]{ typeof(
CallSiteBinder
) });
100
createMethod = callsiteType.GetMethod("Create", new Type[]{ typeof(
CallSiteBinder
) });
System.Core (1)
System.Core.cs (1)
185
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.
CallSiteBinder
))]
System.Dynamic.Runtime (1)
System.Dynamic.Runtime.cs (1)
4
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.
CallSiteBinder
))]
System.Linq.Expressions (107)
System\Dynamic\DynamicMetaObjectBinder.cs (2)
19
/// The <see cref="
CallSiteBinder
"/> performs the binding of the dynamic operation using the runtime values
173
return Expression.Goto(
CallSiteBinder
.UpdateLabel, type);
System\Linq\Expressions\DynamicExpression.cs (67)
22
internal DynamicExpression(Type delegateType,
CallSiteBinder
binder)
51
internal static DynamicExpression Make(Type returnType, Type delegateType,
CallSiteBinder
binder, ReadOnlyCollection<Expression> arguments)
63
internal static DynamicExpression Make(Type returnType, Type delegateType,
CallSiteBinder
binder, Expression arg0)
75
internal static DynamicExpression Make(Type returnType, Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1)
87
internal static DynamicExpression Make(Type returnType, Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2)
99
internal static DynamicExpression Make(Type returnType, Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3)
125
/// Gets the <see cref="
CallSiteBinder
" />, which determines the runtime behavior of the
128
public
CallSiteBinder
Binder { get; }
228
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
244
public static new DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, params Expression[] arguments)
250
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
266
public static new DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, IEnumerable<Expression> arguments)
272
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
288
public static new DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0)
294
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
311
public static new DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0, Expression arg1)
317
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
335
public static new DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0, Expression arg1, Expression arg2)
341
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
360
public static new DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3)
366
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
379
public static new DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, IEnumerable<Expression>? arguments)
385
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
397
public static new DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, params Expression[]? arguments)
403
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and one argument.
415
public static new DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0)
421
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and two arguments.
434
public static new DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1)
440
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and three arguments.
454
public static new DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2)
460
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and four arguments.
475
public static new DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3)
496
internal DynamicExpressionN(Type delegateType,
CallSiteBinder
binder, IReadOnlyList<Expression> arguments)
524
internal TypedDynamicExpressionN(Type returnType, Type delegateType,
CallSiteBinder
binder, IReadOnlyList<Expression> arguments)
538
internal DynamicExpression1(Type delegateType,
CallSiteBinder
binder, Expression arg0)
582
internal TypedDynamicExpression1(Type retType, Type delegateType,
CallSiteBinder
binder, Expression arg0)
596
internal DynamicExpression2(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1)
651
internal TypedDynamicExpression2(Type retType, Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1)
665
internal DynamicExpression3(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2)
726
internal TypedDynamicExpression3(Type retType, Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2)
740
internal DynamicExpression4(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3)
807
internal TypedDynamicExpression4(Type retType, Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3)
821
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
833
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, params Expression[]? arguments)
839
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
851
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, IEnumerable<Expression>? arguments)
879
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and one argument.
891
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0)
908
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and two arguments.
921
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1)
940
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and three arguments.
954
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2)
975
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and four arguments.
990
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3)
1021
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
1037
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, params Expression[] arguments)
1043
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
1059
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0)
1078
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
1095
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0, Expression arg1)
1118
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
1136
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0, Expression arg1, Expression arg2)
1163
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
1182
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3)
1213
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
1229
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, IEnumerable<Expression> arguments)
1240
private static DynamicExpression MakeDynamic(
CallSiteBinder
binder, Type returnType, ReadOnlyCollection<Expression> arguments)
System\Linq\Expressions\Expression.cs (24)
288
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
304
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, IEnumerable<Expression> arguments) =>
308
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
324
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0) =>
328
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
345
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0, Expression arg1) =>
349
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
367
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0, Expression arg1, Expression arg2) =>
371
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
390
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3) =>
394
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
410
public static DynamicExpression Dynamic(
CallSiteBinder
binder, Type returnType, params Expression[] arguments) =>
414
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
427
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, IEnumerable<Expression>? arguments) =>
431
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and one argument.
444
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0) =>
448
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and two arguments.
462
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1) =>
466
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and three arguments.
481
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2) =>
485
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" /> and four arguments.
501
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3) =>
505
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="
CallSiteBinder
" />.
518
public static DynamicExpression MakeDynamic(Type delegateType,
CallSiteBinder
binder, params Expression[]? arguments) =>
System\Runtime\CompilerServices\CallSite.cs (12)
54
private static volatile CacheDict<Type, Func<
CallSiteBinder
, CallSite>>? s_siteCtors;
61
internal readonly
CallSiteBinder
? _binder;
64
internal CallSite(
CallSiteBinder
? binder)
77
public
CallSiteBinder
? Binder => _binder;
87
public static CallSite Create(Type delegateType,
CallSiteBinder
binder)
93
CacheDict<Type, Func<
CallSiteBinder
, CallSite>>? ctors = s_siteCtors;
97
s_siteCtors = ctors = new CacheDict<Type, Func<
CallSiteBinder
, CallSite>>(100);
100
if (!ctors.TryGetValue(delegateType, out Func<
CallSiteBinder
, CallSite>? ctor))
110
ctor = (Func<
CallSiteBinder
, CallSite>)method.CreateDelegate(typeof(Func<
CallSiteBinder
, CallSite>));
168
private CallSite(
CallSiteBinder
binder)
215
public static CallSite<T> Create(
CallSiteBinder
binder)
System\Runtime\CompilerServices\CallSiteBinder.cs (1)
27
/// Initializes a new instance of the <see cref="
CallSiteBinder
"/> class.
System\Runtime\CompilerServices\CallSiteOps.cs (1)
157
public static T Bind<T>(
CallSiteBinder
binder, CallSite<T> site, object[] args) where T : class