2 implementations of IMethodSymbolInternal
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
79 references to IMethodSymbolInternal
Microsoft.CodeAnalysis (36)
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)
Microsoft.CodeAnalysis.CSharp (16)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic (14)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (3)