9 interfaces inheriting from ISymbolInternal
Microsoft.CodeAnalysis (9)
Symbols\IAssemblySymbolInternal.cs (1)
11internal interface IAssemblySymbolInternal : ISymbolInternal
Symbols\IFieldSymbolInternal.cs (1)
7internal interface IFieldSymbolInternal : ISymbolInternal
Symbols\ILocalSymbolInternal.cs (1)
7internal interface ILocalSymbolInternal : ISymbolInternal
Symbols\IMethodSymbolInternal.cs (1)
11internal interface IMethodSymbolInternal : ISymbolInternal
Symbols\IModuleSymbolInternal.cs (1)
7internal interface IModuleSymbolInternal : ISymbolInternal
Symbols\INamespaceOrTypeSymbolInternal.cs (1)
7internal interface INamespaceOrTypeSymbolInternal : ISymbolInternal
Symbols\IParameterSymbolInternal.cs (1)
7internal interface IParameterSymbolInternal : ISymbolInternal
Symbols\IPropertySymbolInternal.cs (1)
7internal interface IPropertySymbolInternal : ISymbolInternal
Symbols\ISynthesizedMethodBodyImplementationSymbol.cs (1)
10internal interface ISynthesizedMethodBodyImplementationSymbol : ISymbolInternal
145 references to ISymbolInternal
Microsoft.CodeAnalysis (145)
Binding\AbstractLookupSymbolsInfo.cs (1)
15where TSymbol : class, ISymbolInternal
CodeGen\ArrayMembers.cs (1)
363Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
CodeGen\MetadataNamedArgument.cs (2)
16private readonly ISymbolInternal _entity; 20public MetadataNamedArgument(ISymbolInternal entity, Cci.ITypeReference type, Cci.IMetadataExpression value)
CodeGen\PrivateImplementationDetails.cs (1)
682Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
Compilation\Compilation.cs (5)
898internal abstract TSymbol? GetSymbolInternal<TSymbol>(ISymbol? symbol) where TSymbol : class, ISymbolInternal; 984internal abstract ISymbolInternal CommonGetSpecialTypeMember(SpecialMember specialMember); 996internal abstract ISymbolInternal? CommonGetWellKnownTypeMember(WellKnownMember member); 2488Predicate<ISymbolInternal>? filterOpt, 2613Predicate<ISymbolInternal>? filterOpt,
Diagnostic\DiagnosticInfo.cs (1)
343var symbol = _arguments[i] as ISymbol ?? (_arguments[i] as ISymbolInternal)?.GetISymbol();
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1106static bool shouldIncludeSymbol(ISymbolInternal symbol, SyntaxTree tree, CancellationToken cancellationToken)
DiagnosticAnalyzer\SymbolDeclaredCompilationEvent.cs (2)
22ISymbolInternal symbolInternal, 33public ISymbolInternal SymbolInternal { get; }
Emit\CommonPEModuleBuilder.cs (10)
129internal abstract ImmutableDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> GetAllSynthesizedMembers(); 311Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null; 828public ImmutableArray<ISymbolInternal> GetAllMembers() 830var builder = ArrayBuilder<ISymbolInternal>.GetInstance(); 983internal override ImmutableDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> GetAllSynthesizedMembers() 985var builder = ImmutableDictionary.CreateBuilder<ISymbolInternal, ImmutableArray<ISymbolInternal>>(); 997builder.Add(entry.Key, entry.Value.ToImmutableArray<ISymbolInternal>());
Emit\EditAndContinue\DefinitionMap.cs (8)
105protected abstract ISymbolInternal? GetISymbolInternalOrNull(ISymbol symbol); 546ImmutableArray<ISymbolInternal> members, 547IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>>? synthesizedMemberMap, 559void recurse(ImmutableArray<ISymbolInternal> members, DebugId? containingDisplayClassId) 561foreach (var member in members) 648static ImmutableArray<string> getHoistedVariableNames(ImmutableArray<ISymbolInternal> members) 651foreach (var member in members)
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
95public ISymbolInternal? GetInternalSymbol()
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
43public ISymbolInternal? GetInternalSymbol()
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
534foreach (var deletedMember in deletedMembers.NullToEmpty()) 840private void ReportReferencesToAddedSymbol(ISymbolInternal? symbol)
Emit\EditAndContinue\EmitBaseline.cs (16)
193synthesizedMembers: ImmutableSegmentedDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>>.Empty, 194deletedMembers: ImmutableSegmentedDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>>.Empty, 285internal readonly IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> SynthesizedMembers; 286internal readonly IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> DeletedMembers; 314IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> synthesizedMembers, 315IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> deletedMembers, 413IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> synthesizedMembers, 414IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> deletedMembers,
Emit\EditAndContinue\SymbolChanges.cs (38)
28private readonly IReadOnlyDictionary<ISymbolInternal, SymbolChange> _changes; 34private readonly ISet<ISymbolInternal> _replacedSymbols; 41public readonly IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> DeletedMembers; 62public bool IsReplaced(ISymbolInternal symbol, bool checkEnclosingTypes = false) 64ISymbolInternal? currentSymbol = symbol; 96public bool RequiresCompilation(ISymbolInternal symbol) 99private bool DefinitionExistsInPreviousGeneration(ISymbolInternal symbol) 111var current = symbol; 128var symbol = def.GetInternalSymbol(); 231private SymbolChange GetChange(ISymbolInternal symbol) 248var container = GetContainingSymbol(symbol); 320protected abstract ISymbolInternal? GetISymbolInternalOrNull(ISymbol symbol); 322public ISymbolInternal GetRequiredInternalSymbol(ISymbol? symbol) 325var result = GetISymbolInternalOrNull(symbol); 351out IReadOnlyDictionary<ISymbolInternal, SymbolChange> changes, 352out ISet<ISymbolInternal> replacedSymbols, 353out IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> deletedMembers, 356var changesBuilder = new Dictionary<ISymbolInternal, SymbolChange>(); 358var lazyReplacedSymbolsBuilder = (HashSet<ISymbolInternal>?)null; 359var lazyDeletedMembersBuilder = (Dictionary<ISymbolInternal, ArrayBuilder<ISymbolInternal>>?)null; 376(lazyReplacedSymbolsBuilder ??= new HashSet<ISymbolInternal>()).Add(GetRequiredInternalSymbol(edit.NewSymbol)); 389deletedMembersPerType = ArrayBuilder<ISymbolInternal>.GetInstance(); 393var oldSymbol = GetRequiredInternalSymbol(edit.OldSymbol); 413var newMember = GetRequiredInternalSymbol(edit.NewSymbol); 466replacedSymbols = lazyReplacedSymbolsBuilder ?? SpecializedCollections.EmptySet<ISymbolInternal>(); 470elementSelector: static e => e.Value.ToImmutableAndFree()) ?? ImmutableSegmentedDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>>.Empty; 477private static void AddContainingSymbolChanges(Dictionary<ISymbolInternal, SymbolChange> changes, ISymbolInternal symbol) 481var containingSymbol = GetContainingSymbol(symbol); 499private static ISymbolInternal? GetContainingSymbol(ISymbolInternal symbol) 506var associated = GetAssociatedSymbol(symbol); 527private static ISymbolInternal? GetAssociatedSymbol(ISymbolInternal symbol)
Emit\EditAndContinue\SymbolMatcher.cs (18)
21public ISymbolInternal? MapDefinitionOrNamespace(ISymbolInternal symbol) 33IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> mappedSynthesizedMembers, 34IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> mappedDeletedMembers) 164internal IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> MapSynthesizedOrDeletedMembers( 165IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> previousMembers, 166IReadOnlyDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>> newMembers, 176var synthesizedMembersBuilder = ImmutableSegmentedDictionary.CreateBuilder<ISymbolInternal, ImmutableArray<ISymbolInternal>>(); 182var mappedContainer = MapDefinitionOrNamespace(previousContainer); 199var memberBuilder = ArrayBuilder<ISymbolInternal>.GetInstance(); 202foreach (var member in members) 204var mappedMember = MapDefinitionOrNamespace(member);
Emit\ErrorType.cs (2)
183Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null; 247Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedMember.cs (1)
120Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedParameter.cs (1)
222CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedType.cs (1)
561CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
219CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\VtblGap.cs (1)
182Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\SemanticEdit.cs (2)
215internal static SemanticEdit Create(SemanticEditKind kind, ISymbolInternal oldSymbol, ISymbolInternal newSymbol, Func<SyntaxNode, SyntaxNode>? syntaxMap = null)
MetadataReader\MetadataDecoder.cs (1)
118where Symbol : class, ISymbolInternal
PEWriter\Core.cs (1)
55ISymbolInternal? GetInternalSymbol();
PEWriter\InheritedTypeParameter.cs (1)
201CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\MetadataWriter.cs (2)
1441ISymbolInternal symbol; 1455protected static Location GetSymbolLocation(ISymbolInternal symbolOpt)
PEWriter\ModifiedTypeReference.cs (1)
148CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\ReturnValueParameter.cs (1)
117CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\RootModuleStaticConstructor.cs (1)
108CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
PEWriter\RootModuleType.cs (1)
327CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\SymbolEquivalentEqualityComparer.cs (3)
34var xSymbol = x.GetInternalSymbol(); 35var ySymbol = y.GetInternalSymbol(); 47var objSymbol = obj?.GetInternalSymbol();
PEWriter\UsedNamespaceOrType.cs (3)
96var xSymbol = x.GetInternalSymbol(); 97var ySymbol = y.GetInternalSymbol(); 113var objSymbol = obj?.GetInternalSymbol();
SymbolDisplay\FormattedSymbol.cs (2)
22private readonly ISymbolInternal _symbol; 25internal FormattedSymbol(ISymbolInternal symbol, SymbolDisplayFormat symbolDisplayFormat)
Symbols\IFieldSymbolInternal.cs (1)
14ISymbolInternal? AssociatedSymbol { get; }
Symbols\IMethodSymbolInternal.cs (1)
49ISymbolInternal? AssociatedSymbol { get; }
Symbols\INamedTypeSymbolInternal.cs (2)
18ImmutableArray<ISymbolInternal> GetMembers(); 19ImmutableArray<ISymbolInternal> GetMembers(string name);
Symbols\ISymbolInternal.cs (3)
55bool Equals(ISymbolInternal? other, TypeCompareKind compareKind); 58/// Gets the <see cref="ISymbolInternal"/> for the immediately containing symbol. 60ISymbolInternal ContainingSymbol { get; }
Symbols\ITypeSymbolInternal.cs (1)
38/// This API and <see cref="ISymbolInternal.GetISymbol"/> should return the same object.
Symbols\TypedConstant.cs (3)
26Debug.Assert(!(value is ISymbol) || value is ISymbolInternal); 81if (result is ISymbolInternal symbol) 91/// Unlike <see cref="Value"/> returns <see cref="ISymbolInternal"/> when the value is a symbol.