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), 4629var methodInfo = MethodInfo.Create(indexer, expr.AccessorKind); 4681var methodInfo = MethodInfo.Create(property, accessorKind); 4855MethodInfo.Create(methodSymbol), 4875MethodInfo.Create(ptrSymbol), 4895MethodInfo.Create(indexerAccess), 4921MethodInfo.Create(indexerAccess), 4943MethodInfo.Create(methodSymbol), 4970MethodInfo.Create(equivalentSignatureMethod), 4990MethodInfo.Create(propertyAccess.PropertySymbol), 5010MethodInfo.Create(constructorSymbol), 5077MethodInfo.Create(unaryMethod), 5124MethodInfo.Create(equivalentSignatureMethod), 5145MethodInfo.Create(operatorMethod), 5180MethodInfo.Create(compoundMethod), 5209MethodInfo.Create(binaryMethod), 5241MethodInfo.Create(uo.LogicalOperator),
Binder\RefSafetyAnalysis.cs (7)
686MethodInfo.Create(method), 784var methodInfo = MethodInfo.Create(constructor); 869MethodInfo.Create(node), 892MethodInfo.Create(method), 993MethodInfo.Create(deconstructMethod), 1084MethodInfo.Create(equivalentSignatureMethod),