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