2 implementations of IMethodSymbolInternal
Microsoft.CodeAnalysis.CSharp (1)
Symbols\MethodSymbol.cs (1)
24internal abstract partial class MethodSymbol : Symbol, IMethodSymbolInternal
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
15Implements IMethodSymbol, IMethodSymbolInternal
79 references to IMethodSymbolInternal
Microsoft.CodeAnalysis (36)
CodeGen\CompilationTestData.cs (7)
25public readonly IMethodSymbolInternal Method; 27public MethodData(ILBuilder ilBuilder, IMethodSymbolInternal method) 35public readonly ConcurrentDictionary<IMethodSymbolInternal, MethodData> Methods = new ConcurrentDictionary<IMethodSymbolInternal, MethodData>(); 53public void SetMethodILBuilder(IMethodSymbolInternal method, ILBuilder builder) 58public ILBuilder GetIL(Func<IMethodSymbolInternal, bool> predicate) 125private static string GetMethodName(IMethodSymbolInternal methodSymbol)
Compilation\CommonModuleCompilationState.cs (1)
35where TMethodSymbol : class, IMethodSymbolInternal
Emit\CommonPEModuleBuilder.cs (10)
37private readonly ConcurrentDictionary<IMethodSymbolInternal, Cci.IMethodBody> _methodBodyMap; 66_methodBodyMap = new ConcurrentDictionary<IMethodSymbolInternal, Cci.IMethodBody>(ReferenceEqualityComparer.Instance); 106internal abstract Cci.IMethodReference Translate(IMethodSymbolInternal symbol, DiagnosticBag diagnostics, bool needDeclaration); 287internal Cci.IMethodBody GetMethodBody(IMethodSymbolInternal methodSymbol) 303public void SetMethodBody(IMethodSymbolInternal methodSymbol, Cci.IMethodBody body) 313internal void SetPEEntryPoint(IMethodSymbolInternal method, DiagnosticBag diagnostics) 321internal void SetDebugEntryPoint(IMethodSymbolInternal method, DiagnosticBag diagnostics) 328private bool IsSourceDefinition(IMethodSymbolInternal method) 544where TMethodSymbol : class, IMethodSymbolInternal 709internal sealed override Cci.IMethodReference Translate(IMethodSymbolInternal symbol, DiagnosticBag diagnostics, bool needDeclaration)
Emit\EditAndContinue\DefinitionMap.cs (13)
23public readonly IMethodSymbolInternal PreviousMethod; 26public MappedMethod(IMethodSymbolInternal previousMethod, Func<SyntaxNode, SyntaxNode?>? syntaxMap) 33private readonly ImmutableDictionary<IMethodSymbolInternal, MethodInstrumentation> _methodInstrumentations; 34protected readonly IReadOnlyDictionary<IMethodSymbolInternal, MappedMethod> mappedMethods; 46.ToImmutableDictionary(edit => (IMethodSymbolInternal)GetISymbolInternalOrNull(edit.NewSymbol!)!, edit => edit.Instrumentation); 49private IReadOnlyDictionary<IMethodSymbolInternal, MappedMethod> GetMappedMethods(IEnumerable<SemanticEdit> edits) 51var mappedMethods = new Dictionary<IMethodSymbolInternal, MappedMethod>(); 76if (GetISymbolInternalOrNull(edit.NewSymbol) is IMethodSymbolInternal newMethod && 77GetISymbolInternalOrNull(edit.OldSymbol) is IMethodSymbolInternal oldMethod) 153internal VariableSlotAllocator? TryCreateVariableSlotAllocator(EmitBaseline baseline, Compilation compilation, IMethodSymbolInternal method, IMethodSymbolInternal topLevelMethod, DiagnosticBag diagnostics) 350internal MethodInstrumentation GetMethodBodyInstrumentations(IMethodSymbolInternal method) 355private void ReportMissingStateMachineAttribute(DiagnosticBag diagnostics, IMethodSymbolInternal method, string stateMachineAttributeFullName)
Emit\EditAndContinue\EncVariableSlotAllocator.cs (2)
25private readonly IMethodSymbolInternal _previousTopLevelMethod; 51IMethodSymbolInternal previousTopLevelMethod,
MetadataReader\MetadataDecoder.cs (1)
116where MethodSymbol : class, Symbol, IMethodSymbolInternal
Symbols\IMethodSymbolInternal.cs (1)
26IMethodSymbolInternal Construct(params ITypeSymbolInternal[] typeArguments);
Symbols\ISynthesizedMethodBodyImplementationSymbol.cs (1)
20IMethodSymbolInternal? Method { get; }
Microsoft.CodeAnalysis.CSharp (16)
Lowering\AsyncRewriter\AsyncConstructor.cs (1)
19IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (1)
142IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method => _topLevelMethod;
Lowering\ClosureConversion\SynthesizedClosureEnvironmentConstructor.cs (1)
19IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
230IMethodSymbolInternal? ISynthesizedMethodBodyImplementationSymbol.Method => TopLevelMethod;
Lowering\IteratorRewriter\IteratorConstructor.cs (1)
49IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
244IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\LocalRewriter\DynamicSiteContainer.cs (1)
48IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (1)
76IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\StateMachineRewriter\StateMachineTypeSymbol.cs (1)
48IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\StateMachineRewriter\SynthesizedStateMachineMethod.cs (1)
46IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.cs (1)
168IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method
Symbols\MethodSymbol.cs (4)
1181bool IMethodSymbolInternal.IsIterator => IsIterator; 1183int IMethodSymbolInternal.CalculateLocalSyntaxOffset(int localPosition, SyntaxTree localTree) => CalculateLocalSyntaxOffset(localPosition, localTree); 1185IMethodSymbolInternal IMethodSymbolInternal.Construct(params ITypeSymbolInternal[] typeArguments)
Symbols\Synthesized\SynthesizedLambdaCacheFieldSymbol.cs (1)
30IMethodSymbolInternal ISynthesizedMethodBodyImplementationSymbol.Method => _topLevelMethod;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\EditAndContinue\EditAndContinueClosureTests.cs (2)
372var localFunction0 = testData0.GetMethodData("C.<F>g__x|0_0").Method; 375var localFunction1 = diff1.TestData.GetMethodData("C.<F>g__x|0_0").Method;
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1852private static string GetContainingTypeMetadataName(IMethodSymbolInternal method)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
FrameDecoder.cs (1)
28where TMethodSymbol : class, IMethodSymbolInternal
InstructionDecoder.cs (1)
15where TMethodSymbol : class, IMethodSymbolInternal
LanguageInstructionDecoder.cs (1)
20where TMethodSymbol : class, IMethodSymbolInternal
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (1)
ExpressionCompilerTestHelpers.cs (1)
515where TMethodSymbol : IMethodSymbolInternal
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\CompilationTestDataExtensions.cs (1)
43internal static ImmutableArray<KeyValuePair<IMethodSymbolInternal, CompilationTestData.MethodData>> GetExplicitlyDeclaredMethods(this CompilationTestData data)
Microsoft.CodeAnalysis.VisualBasic (14)
Lowering\LambdaRewriter\LambdaFrame.vb (1)
238Public ReadOnly Property Method As IMethodSymbolInternal Implements ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\LambdaRewriter\LambdaFrameConstructor.vb (1)
76Public ReadOnly Property Method As IMethodSymbolInternal Implements ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\LambdaRewriter\SynthesizedLambdaCacheFieldSymbol.vb (1)
43Public ReadOnly Property Method As IMethodSymbolInternal Implements ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\LambdaRewriter\SynthesizedLambdaMethod.vb (1)
239Public ReadOnly Property Method As IMethodSymbolInternal Implements ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\StateMachineRewriter\StateMachineFieldSymbol.vb (1)
94Public ReadOnly Property Method As IMethodSymbolInternal Implements ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\StateMachineRewriter\StateMachineTypeSymbol.vb (1)
50Public ReadOnly Property Method As IMethodSymbolInternal Implements ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\StateMachineRewriter\SynthesizedStateMachineMethod.vb (1)
171Public ReadOnly Property Method As IMethodSymbolInternal Implements ISynthesizedMethodBodyImplementationSymbol.Method
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.vb (1)
154Public ReadOnly Property Method As IMethodSymbolInternal Implements ISynthesizedMethodBodyImplementationSymbol.Method
Symbols\MethodSymbol.vb (5)
1085Private ReadOnly Property IMethodSymbol_IsAsync As Boolean Implements IMethodSymbol.IsAsync, IMethodSymbolInternal.IsAsync 1117Private Function IMethodSymbolInternal_Construct(ParamArray typeArguments() As ITypeSymbolInternal) As IMethodSymbolInternal Implements IMethodSymbolInternal.Construct 1133Private ReadOnly Property IMethodSymbolInternal_IsIterator As Boolean Implements IMethodSymbolInternal.IsIterator 1139Private Function IMethodSymbolInternal_CalculateLocalSyntaxOffset(localPosition As Integer, localTree As SyntaxTree) As Integer Implements IMethodSymbolInternal.CalculateLocalSyntaxOffset
Symbols\SynthesizedSymbols\SynthesizedSimpleConstructorSymbol.vb (1)
54Public ReadOnly Property Method As IMethodSymbolInternal Implements ISynthesizedMethodBodyImplementationSymbol.Method
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (2)
ExpressionCompilerTestBase.vb (2)
496Friend Shared Sub CheckAttribute(assembly As IEnumerable(Of Byte), method As IMethodSymbolInternal, description As AttributeDescription, expected As Boolean) 501CheckAttribute(assembly, DirectCast(method, IMethodSymbolInternal), description, expected)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (3)
Extensions.vb (3)
326Friend Function Parameters(this As IMethodSymbolInternal) As ImmutableArray(Of ParameterSymbol) 331Friend Function ReturnType(this As IMethodSymbolInternal) As TypeSymbol 336Friend Function ReturnsVoid(this As IMethodSymbolInternal) As Boolean