1 implementation of INamedTypeSymbolInternal
Microsoft.CodeAnalysis.CSharp (1)
Symbols\NamedTypeSymbol.cs (1)
24internal abstract partial class NamedTypeSymbol : TypeSymbol, INamedTypeSymbolInternal
67 references to INamedTypeSymbolInternal
Microsoft.CodeAnalysis (34)
Compilation\CommonModuleCompilationState.cs (1)
34where TNamedTypeSymbol : class, INamedTypeSymbolInternal
Compilation\Compilation.cs (1)
992private protected abstract INamedTypeSymbolInternal CommonGetSpecialType(SpecialType specialType);
Emit\CommonPEModuleBuilder.cs (3)
114public abstract INamedTypeSymbolInternal? TryGetOrCreateSynthesizedHotReloadExceptionType(); 119public abstract INamedTypeSymbolInternal? GetUsedSynthesizedHotReloadExceptionType(); 659where TNamedTypeSymbol : class, TTypeSymbol, INamedTypeSymbolInternal
Emit\EditAndContinue\DefinitionMap.cs (5)
47private ImmutableDictionary<INamedTypeSymbolInternal, MetadataLambdasAndClosures> _metadataLambdasAndClosures 48= ImmutableDictionary<INamedTypeSymbolInternal, MetadataLambdasAndClosures>.Empty; 538private MetadataLambdasAndClosures GetMetadataLambdaAndClosureMap(INamedTypeSymbolInternal peType, DebugId methodId) 592var displayClass = (INamedTypeSymbolInternal)member;
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
536if (typeDef.GetInternalSymbol() is INamedTypeSymbolInternal typeSymbol &&
Emit\EditAndContinue\SymbolChanges.cs (5)
46public readonly IReadOnlyDictionary<INamedTypeSymbolInternal, ImmutableArray<(IMethodSymbolInternal oldMethod, IMethodSymbolInternal newMethod)>> UpdatedMethods; 354out IReadOnlyDictionary<INamedTypeSymbolInternal, ImmutableArray<(IMethodSymbolInternal oldMethod, IMethodSymbolInternal newMethod)>> updatedMethods) 357var updatedMethodsBuilder = new Dictionary<INamedTypeSymbolInternal, ArrayBuilder<(IMethodSymbolInternal oldMethod, IMethodSymbolInternal newMethod)>>(); 384var newContainingType = (INamedTypeSymbolInternal)GetRequiredInternalSymbol(edit.NewSymbol);
Emit\EditAndContinue\SymbolMatcher.cs (3)
20protected abstract bool TryGetMatchingDelegateWithIndexedName(INamedTypeSymbolInternal delegateTemplate, ImmutableArray<AnonymousTypeValue> values, out AnonymousTypeValue match); 165var template = (INamedTypeSymbolInternal?)previousValue.Type.GetInternalSymbol();
MetadataReader\MetadataDecoder.cs (1)
1419if (type is INamedTypeSymbolInternal { EnumUnderlyingType: { } underlyingType })
MetadataReader\PEModule.cs (2)
1425Func<string, TypedConstant, bool, (bool IsCallConvs, ImmutableHashSet<INamedTypeSymbolInternal>? CallConvs)> unmanagedCallersOnlyDecoder) 1436var unmanagedConventionTypes = ImmutableHashSet<INamedTypeSymbolInternal>.Empty;
Symbols\Attributes\CommonAttributeData.cs (1)
77internal static bool IsTargetEarlyAttribute(INamedTypeSymbolInternal attributeType, int attributeArgCount, AttributeDescription description)
Symbols\Attributes\EarlyDecodeWellKnownAttributeArguments.cs (1)
17where TNamedTypeSymbol : INamedTypeSymbolInternal
Symbols\Attributes\UnmanagedCallersOnlyAttributeData.cs (6)
13internal static readonly UnmanagedCallersOnlyAttributeData Uninitialized = new UnmanagedCallersOnlyAttributeData(callingConventionTypes: ImmutableHashSet<INamedTypeSymbolInternal>.Empty); 14internal static readonly UnmanagedCallersOnlyAttributeData AttributePresentDataNotBound = new UnmanagedCallersOnlyAttributeData(callingConventionTypes: ImmutableHashSet<INamedTypeSymbolInternal>.Empty); 15private static readonly UnmanagedCallersOnlyAttributeData PlatformDefault = new UnmanagedCallersOnlyAttributeData(callingConventionTypes: ImmutableHashSet<INamedTypeSymbolInternal>.Empty); 19internal static UnmanagedCallersOnlyAttributeData Create(ImmutableHashSet<INamedTypeSymbolInternal>? callingConventionTypes) 26public readonly ImmutableHashSet<INamedTypeSymbolInternal> CallingConventionTypes; 28private UnmanagedCallersOnlyAttributeData(ImmutableHashSet<INamedTypeSymbolInternal> callingConventionTypes)
Symbols\INamedTypeSymbolInternal.cs (2)
16INamedTypeSymbolInternal? EnumUnderlyingType { get; } 33public static (ThreeState isManaged, bool hasGenerics) IsManagedTypeHelper(INamedTypeSymbolInternal type)
Symbols\ISymbolInternal.cs (2)
75/// Gets the <see cref="INamedTypeSymbolInternal"/> for the containing type. Returns null if the 78INamedTypeSymbolInternal ContainingType { get; }
Microsoft.CodeAnalysis.CSharp (30)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (7)
696ImmutableHashSet<INamedTypeSymbolInternal> actualUnmanagedCallingConventionTypes; 701actualUnmanagedCallingConventionTypes = ImmutableHashSet<INamedTypeSymbolInternal>.Empty; 721actualUnmanagedCallingConventionTypes = ImmutableHashSet<INamedTypeSymbolInternal>.Empty; 728actualUnmanagedCallingConventionTypes = ImmutableHashSet<INamedTypeSymbolInternal>.Empty; 732actualUnmanagedCallingConventionTypes = ImmutableHashSet<INamedTypeSymbolInternal>.Empty; 736actualUnmanagedCallingConventionTypes = ImmutableHashSet<INamedTypeSymbolInternal>.Empty; 740actualUnmanagedCallingConventionTypes = ImmutableHashSet<INamedTypeSymbolInternal>.Empty;
Compilation\CSharpCompilation.cs (1)
4100private protected override INamedTypeSymbolInternal CommonGetSpecialType(SpecialType specialType)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (1)
101protected override bool TryGetMatchingDelegateWithIndexedName(INamedTypeSymbolInternal delegateTemplate, ImmutableArray<AnonymousTypeValue> values, out AnonymousTypeValue match)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (2)
272public override INamedTypeSymbolInternal? TryGetOrCreateSynthesizedHotReloadExceptionType() 294public override INamedTypeSymbolInternal? GetUsedSynthesizedHotReloadExceptionType()
Emitter\Model\PEAssemblyBuilder.cs (2)
697public override INamedTypeSymbolInternal? TryGetOrCreateSynthesizedHotReloadExceptionType() 703public override INamedTypeSymbolInternal? GetUsedSynthesizedHotReloadExceptionType()
Emitter\Model\PENetModuleBuilder.cs (2)
44public override INamedTypeSymbolInternal? TryGetOrCreateSynthesizedHotReloadExceptionType() 50public override INamedTypeSymbolInternal? GetUsedSynthesizedHotReloadExceptionType()
Symbols\BaseTypeAnalysis.cs (2)
148var (isManaged, hasGenerics) = INamedTypeSymbolInternal.Helpers.IsManagedTypeHelper(type); 227var result = INamedTypeSymbolInternal.Helpers.IsManagedTypeHelper(fieldNamedType);
Symbols\MethodSymbol.cs (4)
993internal static (bool IsCallConvs, ImmutableHashSet<INamedTypeSymbolInternal>? CallConvs) TryDecodeUnmanagedCallersOnlyCallConvsField( 1000ImmutableHashSet<INamedTypeSymbolInternal>? callingConventionTypes = null; 1009callingConventionTypes = ImmutableHashSet<INamedTypeSymbolInternal>.Empty; 1013var builder = PooledHashSet<INamedTypeSymbolInternal>.GetInstance();
Symbols\NamedTypeSymbol.cs (4)
1740INamedTypeSymbolInternal INamedTypeSymbolInternal.EnumUnderlyingType 1743ImmutableArray<ISymbolInternal> INamedTypeSymbolInternal.GetMembers() 1746ImmutableArray<ISymbolInternal> INamedTypeSymbolInternal.GetMembers(string name)
Symbols\Retargeting\RetargetingMethodSymbol.cs (3)
243var builder = PooledHashSet<INamedTypeSymbolInternal>.GetInstance(); 244foreach (var identifier in data.CallingConventionTypes) 246builder.Add((INamedTypeSymbolInternal)RetargetingTranslator.Retarget((NamedTypeSymbol)identifier));
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1444ImmutableHashSet<CodeAnalysis.Symbols.INamedTypeSymbolInternal>? callingConventionTypes = null;
Symbols\Symbol.cs (1)
322INamedTypeSymbolInternal ISymbolInternal.ContainingType
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
2486var type = method.ContainingType;
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
84type = ((INamedTypeSymbolInternal)type).EnumUnderlyingType!;
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\CompilationDifference.cs (1)
160$"{(displayTypeKind && container is INamedTypeSymbolInternal type ? (type.TypeKind == TypeKind.Struct ? "struct " : "class ") : "")}{container}: " +