5 instantiations of MethodInfo
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder.ValueChecks.cs (5)
65return new MethodInfo(method, method, null); 70return new MethodInfo( 79AccessorKind.Get => new MethodInfo(property, property.GetOwnOrInheritedGetMethod(), setMethod: null), 80AccessorKind.Set => new MethodInfo(property, property.GetOwnOrInheritedSetMethod(), setMethod: null), 81AccessorKind.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"/> 63internal static MethodInfo Create(MethodSymbol method) 68internal static MethodInfo Create(PropertySymbol property) 76internal static MethodInfo Create(PropertySymbol property, AccessorKind accessorKind) => 85internal static MethodInfo Create(BoundIndexerAccess expr) => 1958in MethodInfo methodInfo, 2047in MethodInfo methodInfo, 2112in MethodInfo methodInfo, 2205in MethodInfo methodInfo, 2278in MethodInfo methodInfo, 2377static EscapeArgument getReceiver(in MethodInfo methodInfo, BoundExpression receiver) 2455in MethodInfo methodInfo, 2525in MethodInfo methodInfo, 2580in MethodInfo methodInfo, 2656in MethodInfo methodInfo, 2770in MethodInfo methodInfo, 2870in MethodInfo methodInfo, 3429MethodInfo.Create(call.Method), 3451MethodInfo.Create(methodSymbol), 3468MethodInfo.Create(indexerAccess), 3490MethodInfo.Create(indexerAccess), 3512MethodInfo.Create(call.Method), 3544MethodInfo.Create(equivalentSignatureMethod), 3560MethodInfo.Create(propertyAccess.PropertySymbol), 3747MethodInfo.Create(methodSymbol), 3773MethodInfo.Create(indexerAccess), 3804MethodInfo.Create(indexerAccess), 3830MethodInfo.Create(methodSymbol), 3866MethodInfo.Create(equivalentSignatureMethod), 3891MethodInfo.Create(signature), 3916MethodInfo.Create(propertySymbol), 4137MethodInfo.Create(call.Method), 4153MethodInfo.Create(ptrSymbol), 4169MethodInfo.Create(indexerAccess), 4191MethodInfo.Create(indexerAccess), 4207MethodInfo.Create(call.Method), 4230MethodInfo.Create(equivalentSignatureMethod), 4246MethodInfo.Create(propertyAccess.PropertySymbol), 4262MethodInfo.Create(constructorSymbol), 4307MethodInfo.Create(unaryMethod), 4343MethodInfo.Create(equivalentSignatureMethod), 4360MethodInfo.Create(operatorMethod), 4392MethodInfo.Create(compoundMethod), 4412MethodInfo.Create(binaryMethod), 4436MethodInfo.Create(uo.LogicalOperator), 4623var methodInfo = MethodInfo.Create(indexer, expr.AccessorKind); 4675var methodInfo = MethodInfo.Create(property, accessorKind); 4849MethodInfo.Create(methodSymbol), 4869MethodInfo.Create(ptrSymbol), 4889MethodInfo.Create(indexerAccess), 4915MethodInfo.Create(indexerAccess), 4937MethodInfo.Create(methodSymbol), 4964MethodInfo.Create(equivalentSignatureMethod), 4984MethodInfo.Create(propertyAccess.PropertySymbol), 5004MethodInfo.Create(constructorSymbol), 5071MethodInfo.Create(unaryMethod), 5118MethodInfo.Create(equivalentSignatureMethod), 5139MethodInfo.Create(operatorMethod), 5174MethodInfo.Create(compoundMethod), 5203MethodInfo.Create(binaryMethod), 5235MethodInfo.Create(uo.LogicalOperator),
Binder\RefSafetyAnalysis.cs (7)
661MethodInfo.Create(method), 759var methodInfo = MethodInfo.Create(constructor); 844MethodInfo.Create(node), 867MethodInfo.Create(method), 968MethodInfo.Create(deconstructMethod), 1059MethodInfo.Create(equivalentSignatureMethod),