1 implementation of INamedTypeSymbolInternal
Microsoft.CodeAnalysis.CSharp (1)
Symbols\NamedTypeSymbol.cs (1)
24
internal abstract partial class NamedTypeSymbol : TypeSymbol,
INamedTypeSymbolInternal
63 references to INamedTypeSymbolInternal
Microsoft.CodeAnalysis (31)
Compilation\CommonModuleCompilationState.cs (1)
34
where TNamedTypeSymbol : class,
INamedTypeSymbolInternal
Compilation\Compilation.cs (1)
992
private protected abstract
INamedTypeSymbolInternal
CommonGetSpecialType(SpecialType specialType);
Emit\CommonPEModuleBuilder.cs (3)
114
public abstract
INamedTypeSymbolInternal
? TryGetOrCreateSynthesizedHotReloadExceptionType();
119
public abstract
INamedTypeSymbolInternal
? GetUsedSynthesizedHotReloadExceptionType();
649
where TNamedTypeSymbol : class, TTypeSymbol,
INamedTypeSymbolInternal
Emit\EditAndContinue\DefinitionMap.cs (5)
47
private ImmutableDictionary<
INamedTypeSymbolInternal
, MetadataLambdasAndClosures> _metadataLambdasAndClosures
48
= ImmutableDictionary<
INamedTypeSymbolInternal
, MetadataLambdasAndClosures>.Empty;
538
private MetadataLambdasAndClosures GetMetadataLambdaAndClosureMap(
INamedTypeSymbolInternal
peType, DebugId methodId)
592
var
displayClass = (
INamedTypeSymbolInternal
)member;
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
535
if (typeDef.GetInternalSymbol() is
INamedTypeSymbolInternal
typeSymbol &&
Emit\EditAndContinue\SymbolChanges.cs (5)
46
public readonly IReadOnlyDictionary<
INamedTypeSymbolInternal
, ImmutableArray<(IMethodSymbolInternal oldMethod, IMethodSymbolInternal newMethod)>> UpdatedMethods;
354
out IReadOnlyDictionary<
INamedTypeSymbolInternal
, ImmutableArray<(IMethodSymbolInternal oldMethod, IMethodSymbolInternal newMethod)>> updatedMethods)
357
var updatedMethodsBuilder = new Dictionary<
INamedTypeSymbolInternal
, ArrayBuilder<(IMethodSymbolInternal oldMethod, IMethodSymbolInternal newMethod)>>();
384
var
newContainingType = (
INamedTypeSymbolInternal
)GetRequiredInternalSymbol(edit.NewSymbol);
MetadataReader\MetadataDecoder.cs (1)
1419
if (type is
INamedTypeSymbolInternal
{ EnumUnderlyingType: { } underlyingType })
MetadataReader\PEModule.cs (2)
1420
Func<string, TypedConstant, bool, (bool IsCallConvs, ImmutableHashSet<
INamedTypeSymbolInternal
>? CallConvs)> unmanagedCallersOnlyDecoder)
1431
var unmanagedConventionTypes = ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty;
Symbols\Attributes\CommonAttributeData.cs (1)
77
internal static bool IsTargetEarlyAttribute(
INamedTypeSymbolInternal
attributeType, int attributeArgCount, AttributeDescription description)
Symbols\Attributes\EarlyDecodeWellKnownAttributeArguments.cs (1)
17
where TNamedTypeSymbol :
INamedTypeSymbolInternal
Symbols\Attributes\UnmanagedCallersOnlyAttributeData.cs (6)
13
internal static readonly UnmanagedCallersOnlyAttributeData Uninitialized = new UnmanagedCallersOnlyAttributeData(callingConventionTypes: ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty);
14
internal static readonly UnmanagedCallersOnlyAttributeData AttributePresentDataNotBound = new UnmanagedCallersOnlyAttributeData(callingConventionTypes: ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty);
15
private static readonly UnmanagedCallersOnlyAttributeData PlatformDefault = new UnmanagedCallersOnlyAttributeData(callingConventionTypes: ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty);
19
internal static UnmanagedCallersOnlyAttributeData Create(ImmutableHashSet<
INamedTypeSymbolInternal
>? callingConventionTypes)
26
public readonly ImmutableHashSet<
INamedTypeSymbolInternal
> CallingConventionTypes;
28
private UnmanagedCallersOnlyAttributeData(ImmutableHashSet<
INamedTypeSymbolInternal
> callingConventionTypes)
Symbols\INamedTypeSymbolInternal.cs (2)
16
INamedTypeSymbolInternal
? EnumUnderlyingType { get; }
33
public 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
78
INamedTypeSymbolInternal
ContainingType { get; }
Microsoft.CodeAnalysis.CSharp (29)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (7)
696
ImmutableHashSet<
INamedTypeSymbolInternal
> actualUnmanagedCallingConventionTypes;
701
actualUnmanagedCallingConventionTypes = ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty;
721
actualUnmanagedCallingConventionTypes = ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty;
728
actualUnmanagedCallingConventionTypes = ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty;
732
actualUnmanagedCallingConventionTypes = ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty;
736
actualUnmanagedCallingConventionTypes = ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty;
740
actualUnmanagedCallingConventionTypes = ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty;
Compilation\CSharpCompilation.cs (1)
4057
private protected override
INamedTypeSymbolInternal
CommonGetSpecialType(SpecialType specialType)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (2)
295
public override
INamedTypeSymbolInternal
? TryGetOrCreateSynthesizedHotReloadExceptionType()
317
public override
INamedTypeSymbolInternal
? GetUsedSynthesizedHotReloadExceptionType()
Emitter\Model\PEAssemblyBuilder.cs (2)
659
public override
INamedTypeSymbolInternal
? TryGetOrCreateSynthesizedHotReloadExceptionType()
665
public override
INamedTypeSymbolInternal
? GetUsedSynthesizedHotReloadExceptionType()
Emitter\Model\PENetModuleBuilder.cs (2)
44
public override
INamedTypeSymbolInternal
? TryGetOrCreateSynthesizedHotReloadExceptionType()
50
public override
INamedTypeSymbolInternal
? GetUsedSynthesizedHotReloadExceptionType()
Symbols\BaseTypeAnalysis.cs (2)
148
var (isManaged, hasGenerics) =
INamedTypeSymbolInternal
.Helpers.IsManagedTypeHelper(type);
227
var result =
INamedTypeSymbolInternal
.Helpers.IsManagedTypeHelper(fieldNamedType);
Symbols\MethodSymbol.cs (4)
993
internal static (bool IsCallConvs, ImmutableHashSet<
INamedTypeSymbolInternal
>? CallConvs) TryDecodeUnmanagedCallersOnlyCallConvsField(
1000
ImmutableHashSet<
INamedTypeSymbolInternal
>? callingConventionTypes = null;
1009
callingConventionTypes = ImmutableHashSet<
INamedTypeSymbolInternal
>.Empty;
1013
var builder = PooledHashSet<
INamedTypeSymbolInternal
>.GetInstance();
Symbols\NamedTypeSymbol.cs (4)
1720
INamedTypeSymbolInternal
INamedTypeSymbolInternal
.EnumUnderlyingType
1723
ImmutableArray<ISymbolInternal>
INamedTypeSymbolInternal
.GetMembers()
1726
ImmutableArray<ISymbolInternal>
INamedTypeSymbolInternal
.GetMembers(string name)
Symbols\Retargeting\RetargetingMethodSymbol.cs (3)
243
var builder = PooledHashSet<
INamedTypeSymbolInternal
>.GetInstance();
244
foreach (
var
identifier in data.CallingConventionTypes)
246
builder.Add((
INamedTypeSymbolInternal
)RetargetingTranslator.Retarget((NamedTypeSymbol)identifier));
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1432
ImmutableHashSet<CodeAnalysis.Symbols.
INamedTypeSymbolInternal
>? callingConventionTypes = null;
Symbols\Symbol.cs (1)
322
INamedTypeSymbolInternal
ISymbolInternal.ContainingType
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
2447
var
type = method.ContainingType;
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
84
type = ((
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}: " +