1 interface inheriting from ICSharpBinder
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ICSharpInvokeOrInvokeMemberBinder.cs (1)
9
internal interface ICSharpInvokeOrInvokeMemberBinder :
ICSharpBinder
8 implementations of ICSharpBinder
Microsoft.CSharp (8)
Microsoft\CSharp\RuntimeBinder\CSharpBinaryOperationBinder.cs (1)
21
internal sealed class CSharpBinaryOperationBinder : BinaryOperationBinder,
ICSharpBinder
Microsoft\CSharp\RuntimeBinder\CSharpConvertBinder.cs (1)
20
internal sealed class CSharpConvertBinder : ConvertBinder,
ICSharpBinder
Microsoft\CSharp\RuntimeBinder\CSharpGetIndexBinder.cs (1)
19
internal sealed class CSharpGetIndexBinder : GetIndexBinder,
ICSharpBinder
Microsoft\CSharp\RuntimeBinder\CSharpGetMemberBinder.cs (1)
21
internal sealed class CSharpGetMemberBinder : GetMemberBinder, IInvokeOnGetBinder,
ICSharpBinder
Microsoft\CSharp\RuntimeBinder\CSharpIsEventBinder.cs (1)
17
internal sealed class CSharpIsEventBinder : DynamicMetaObjectBinder,
ICSharpBinder
Microsoft\CSharp\RuntimeBinder\CSharpSetIndexBinder.cs (1)
20
internal sealed class CSharpSetIndexBinder : SetIndexBinder,
ICSharpBinder
Microsoft\CSharp\RuntimeBinder\CSharpSetMemberBinder.cs (1)
20
internal sealed class CSharpSetMemberBinder : SetMemberBinder,
ICSharpBinder
Microsoft\CSharp\RuntimeBinder\CSharpUnaryOperationBinder.cs (1)
21
internal sealed class CSharpUnaryOperationBinder : UnaryOperationBinder,
ICSharpBinder
45 references to ICSharpBinder
Microsoft.CSharp (45)
Microsoft\CSharp\RuntimeBinder\BinderEquivalence.cs (10)
32
private static readonly ConcurrentDictionary<
ICSharpBinder
,
ICSharpBinder
> binderEquivalenceCache =
33
new ConcurrentDictionary<
ICSharpBinder
,
ICSharpBinder
>(concurrencyLevel: 2, capacity: 32, new BinderEqualityComparer());
36
where T :
ICSharpBinder
38
var
fromCache = binderEquivalenceCache.GetOrAdd(binder, binder);
55
internal sealed class BinderEqualityComparer : IEqualityComparer<
ICSharpBinder
>
57
public bool Equals(
ICSharpBinder
x,
ICSharpBinder
y) => x.IsEquivalentTo(y);
58
public int GetHashCode(
ICSharpBinder
obj) => obj.GetGetBinderEquivalenceHash();
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (4)
26
ICSharpBinder
action,
245
private static Expression ConvertResult(Expression binding,
ICSharpBinder
action)
283
private static Type GetTypeForErrorMetaObject(
ICSharpBinder
action, DynamicMetaObject[] args)
300
private static bool IsIncrementOrDecrementActionOnLocal(
ICSharpBinder
action) =>
Microsoft\CSharp\RuntimeBinder\CSharpBinaryOperationBinder.cs (2)
54
CSharpArgumentInfo
ICSharpBinder
.GetArgumentInfo(int index) => _argumentInfo[index];
101
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\CSharpConvertBinder.cs (2)
51
CSharpArgumentInfo
ICSharpBinder
.GetArgumentInfo(int index) => CSharpArgumentInfo.None;
93
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\CSharpGetIndexBinder.cs (2)
38
CSharpArgumentInfo
ICSharpBinder
.GetArgumentInfo(int index) => _argumentInfo[index];
67
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\CSharpGetMemberBinder.cs (2)
38
CSharpArgumentInfo
ICSharpBinder
.GetArgumentInfo(int index) => _argumentInfo[index];
81
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\CSharpInvokeBinder.cs (3)
34
string
ICSharpBinder
.Name => "Invoke";
44
CSharpArgumentInfo
ICSharpBinder
.GetArgumentInfo(int index) => _argumentInfo[index];
79
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\CSharpInvokeConstructorBinder.cs (2)
31
CSharpArgumentInfo
ICSharpBinder
.GetArgumentInfo(int index) => _argumentInfo[index];
67
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\CSharpInvokeMemberBinder.cs (1)
90
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\CSharpIsEventBinder.cs (2)
29
CSharpArgumentInfo
ICSharpBinder
.GetArgumentInfo(int index) => CSharpArgumentInfo.None;
58
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\CSharpSetIndexBinder.cs (2)
38
CSharpArgumentInfo
ICSharpBinder
.GetArgumentInfo(int index) => _argumentInfo[index];
84
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\CSharpSetMemberBinder.cs (2)
36
CSharpArgumentInfo
ICSharpBinder
.GetArgumentInfo(int index) => _argumentInfo[index];
84
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\CSharpUnaryOperationBinder.cs (2)
46
CSharpArgumentInfo
ICSharpBinder
.GetArgumentInfo(int index) => _argumentInfo[index];
87
public bool IsEquivalentTo(
ICSharpBinder
other)
Microsoft\CSharp\RuntimeBinder\ICSharpBinder.cs (1)
33
bool IsEquivalentTo(
ICSharpBinder
other);
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (8)
46
public Expression Bind(
ICSharpBinder
payload, Expression[] parameters, DynamicMetaObject[] args, out DynamicMetaObject deferredBinding)
74
ICSharpBinder
payload,
138
ICSharpBinder
payload,
209
private Type GetArgumentType(
ICSharpBinder
p, CSharpArgumentInfo argInfo, Expression param, DynamicMetaObject arg, int index)
251
ICSharpBinder
payload,
339
ICSharpBinder
payload,
1130
ICSharpBinder
payload,
1276
ICSharpBinder
payload,