17 overrides of AsNativeInteger
Microsoft.CodeAnalysis.CSharp (17)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
266internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
315internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\ErrorTypeSymbol.cs (1)
543internal override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
2584internal override NamedTypeSymbol AsNativeInteger() 2686internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\NativeIntegerTypeSymbol.cs (1)
175internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
390internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
176internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1755internal override NamedTypeSymbol AsNativeInteger()
Symbols\SubstitutedNamedTypeSymbol.cs (1)
476internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
212internal override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
894internal override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedContainer.cs (1)
208internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
196internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
133internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
143internal override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
129internal override NamedTypeSymbol AsNativeInteger()
4 references to AsNativeInteger
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Crefs.cs (1)
373builder.Add(this.GetSpecialType(memberName == "nint" ? SpecialType.System_IntPtr : SpecialType.System_UIntPtr, diagnostics, syntax).AsNativeInteger());
Binder\Binder_Symbols.cs (1)
1023return this.GetSpecialType(specialType, diagnostics, node).AsNativeInteger();
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (1)
123(true, false) => type.AsNativeInteger(),
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
212return result.SpecialType == SpecialType.None ? result : result.AsNativeInteger();