5 instantiations of MethodInfo
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder.ValueChecks.cs (5)
65
return new
MethodInfo
(method, method, null);
70
return new
MethodInfo
(
79
AccessorKind.Get => new
MethodInfo
(property, property.GetOwnOrInheritedGetMethod(), setMethod: null),
80
AccessorKind.Set => new
MethodInfo
(property, property.GetOwnOrInheritedSetMethod(), setMethod: null),
81
AccessorKind.Both => new
MethodInfo
(property, property.GetOwnOrInheritedGetMethod(), property.GetOwnOrInheritedSetMethod()),
70 references to MethodInfo
Microsoft.CodeAnalysis.CSharp (70)
Binder\Binder.ValueChecks.cs (63)
39
/// method is used in a get scenario. That will lead to a non-null <see cref="
MethodInfo
.Symbol"/>
63
internal static
MethodInfo
Create(MethodSymbol method)
68
internal static
MethodInfo
Create(PropertySymbol property)
76
internal static
MethodInfo
Create(PropertySymbol property, AccessorKind accessorKind) =>
85
internal static
MethodInfo
Create(BoundIndexerAccess expr) =>
1958
in
MethodInfo
methodInfo,
2047
in
MethodInfo
methodInfo,
2112
in
MethodInfo
methodInfo,
2205
in
MethodInfo
methodInfo,
2278
in
MethodInfo
methodInfo,
2377
static EscapeArgument getReceiver(in
MethodInfo
methodInfo, BoundExpression receiver)
2455
in
MethodInfo
methodInfo,
2525
in
MethodInfo
methodInfo,
2580
in
MethodInfo
methodInfo,
2656
in
MethodInfo
methodInfo,
2770
in
MethodInfo
methodInfo,
2870
in
MethodInfo
methodInfo,
3429
MethodInfo
.Create(call.Method),
3451
MethodInfo
.Create(methodSymbol),
3468
MethodInfo
.Create(indexerAccess),
3490
MethodInfo
.Create(indexerAccess),
3512
MethodInfo
.Create(call.Method),
3544
MethodInfo
.Create(equivalentSignatureMethod),
3560
MethodInfo
.Create(propertyAccess.PropertySymbol),
3747
MethodInfo
.Create(methodSymbol),
3773
MethodInfo
.Create(indexerAccess),
3804
MethodInfo
.Create(indexerAccess),
3830
MethodInfo
.Create(methodSymbol),
3866
MethodInfo
.Create(equivalentSignatureMethod),
3891
MethodInfo
.Create(signature),
3916
MethodInfo
.Create(propertySymbol),
4137
MethodInfo
.Create(call.Method),
4153
MethodInfo
.Create(ptrSymbol),
4169
MethodInfo
.Create(indexerAccess),
4191
MethodInfo
.Create(indexerAccess),
4207
MethodInfo
.Create(call.Method),
4230
MethodInfo
.Create(equivalentSignatureMethod),
4246
MethodInfo
.Create(propertyAccess.PropertySymbol),
4262
MethodInfo
.Create(constructorSymbol),
4307
MethodInfo
.Create(unaryMethod),
4343
MethodInfo
.Create(equivalentSignatureMethod),
4360
MethodInfo
.Create(operatorMethod),
4392
MethodInfo
.Create(compoundMethod),
4412
MethodInfo
.Create(binaryMethod),
4436
MethodInfo
.Create(uo.LogicalOperator),
4629
var
methodInfo =
MethodInfo
.Create(indexer, expr.AccessorKind);
4681
var
methodInfo =
MethodInfo
.Create(property, accessorKind);
4855
MethodInfo
.Create(methodSymbol),
4875
MethodInfo
.Create(ptrSymbol),
4895
MethodInfo
.Create(indexerAccess),
4921
MethodInfo
.Create(indexerAccess),
4943
MethodInfo
.Create(methodSymbol),
4970
MethodInfo
.Create(equivalentSignatureMethod),
4990
MethodInfo
.Create(propertyAccess.PropertySymbol),
5010
MethodInfo
.Create(constructorSymbol),
5077
MethodInfo
.Create(unaryMethod),
5124
MethodInfo
.Create(equivalentSignatureMethod),
5145
MethodInfo
.Create(operatorMethod),
5180
MethodInfo
.Create(compoundMethod),
5209
MethodInfo
.Create(binaryMethod),
5241
MethodInfo
.Create(uo.LogicalOperator),
Binder\RefSafetyAnalysis.cs (7)
686
MethodInfo
.Create(method),
784
var
methodInfo =
MethodInfo
.Create(constructor);
869
MethodInfo
.Create(node),
892
MethodInfo
.Create(method),
993
MethodInfo
.Create(deconstructMethod),
1084
MethodInfo
.Create(equivalentSignatureMethod),