15 references to GetMethod
Microsoft.CodeAnalysis (1)
Emit\CommonPEModuleBuilder.cs (1)
751if (details.GetMethod(WellKnownMemberNames.StaticConstructorName) == null)
Microsoft.CodeAnalysis.CSharp (12)
CodeGen\EmitStatement.cs (1)
1473Cci.IReference stringHashMethodRef = privateImplClass.GetMethod(
Emitter\Model\PEModuleBuilder.cs (10)
1836var throwIfNullAdapter = privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowIfNullFunctionName); 1846var actuallyAddedThrowMethod = (SynthesizedThrowMethod)privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowFunctionName)!.GetInternalSymbol()!; 1848throwIfNullAdapter = privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowIfNullFunctionName)!; 1853Debug.Assert((object?)privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowFunctionName)!.GetInternalSymbol() == internalSymbol.ThrowMethod); 1863var throwSwitchExpressionAdapter = privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowSwitchExpressionExceptionFunctionName); 1875return (MethodSymbol)privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowSwitchExpressionExceptionFunctionName)!.GetInternalSymbol()!; 1884var throwSwitchExpressionAdapter = privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowSwitchExpressionExceptionParameterlessFunctionName); 1900return (MethodSymbol)privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowSwitchExpressionExceptionParameterlessFunctionName)!.GetInternalSymbol()!; 1909var throwAdapter = privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowInvalidOperationExceptionFunctionName); 1925return (MethodSymbol)privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowInvalidOperationExceptionFunctionName)!.GetInternalSymbol()!;
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
924if (privateImplClass.GetMethod(stringPatternInput switch
Microsoft.CodeAnalysis.VisualBasic (2)
CodeGen\EmitStatement.vb (1)
1093Dim stringHashMethodRef As Microsoft.Cci.IReference = privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedStringHashFunctionName)
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (1)
186If privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedStringHashFunctionName) IsNot Nothing Then