17 overrides of AsNativeInteger
Microsoft.CodeAnalysis.CSharp (17)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
273internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
322internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\ErrorTypeSymbol.cs (1)
550internal override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
2841internal override NamedTypeSymbol AsNativeInteger() 2943internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\NativeIntegerTypeSymbol.cs (1)
175internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
427internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
180internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1789internal override NamedTypeSymbol AsNativeInteger()
Symbols\SubstitutedNamedTypeSymbol.cs (1)
481internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
219internal override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
901internal override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedContainer.cs (1)
206internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
203internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
139internal sealed override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
150internal override NamedTypeSymbol AsNativeInteger() => throw ExceptionUtilities.Unreachable();
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
136internal 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)
1031return 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();