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),
4623
var
methodInfo =
MethodInfo
.Create(indexer, expr.AccessorKind);
4675
var
methodInfo =
MethodInfo
.Create(property, accessorKind);
4849
MethodInfo
.Create(methodSymbol),
4869
MethodInfo
.Create(ptrSymbol),
4889
MethodInfo
.Create(indexerAccess),
4915
MethodInfo
.Create(indexerAccess),
4937
MethodInfo
.Create(methodSymbol),
4964
MethodInfo
.Create(equivalentSignatureMethod),
4984
MethodInfo
.Create(propertyAccess.PropertySymbol),
5004
MethodInfo
.Create(constructorSymbol),
5071
MethodInfo
.Create(unaryMethod),
5118
MethodInfo
.Create(equivalentSignatureMethod),
5139
MethodInfo
.Create(operatorMethod),
5174
MethodInfo
.Create(compoundMethod),
5203
MethodInfo
.Create(binaryMethod),
5235
MethodInfo
.Create(uo.LogicalOperator),
Binder\RefSafetyAnalysis.cs (7)
661
MethodInfo
.Create(method),
759
var
methodInfo =
MethodInfo
.Create(constructor);
844
MethodInfo
.Create(node),
867
MethodInfo
.Create(method),
968
MethodInfo
.Create(deconstructMethod),
1059
MethodInfo
.Create(equivalentSignatureMethod),