1 instantiation of NativeIntegerTypeSymbol
Microsoft.CodeAnalysis.CSharp (1)
Symbols\MetadataOrSourceAssemblySymbol.cs (1)
151Interlocked.CompareExchange(ref _lazyNativeIntegerTypes[index], new NativeIntegerTypeSymbol(underlyingType), null);
25 references to NativeIntegerTypeSymbol
Microsoft.CodeAnalysis.CSharp (21)
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
1043if (underlyingNamedTypeSymbol is NativeIntegerTypeSymbol)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2506return t2 is NativeIntegerTypeSymbol nativeInteger ?
Symbols\MetadataOrSourceAssemblySymbol.cs (2)
34private NativeIntegerTypeSymbol[] _lazyNativeIntegerTypes; 139Interlocked.CompareExchange(ref _lazyNativeIntegerTypes, new NativeIntegerTypeSymbol[2], null);
Symbols\MissingMetadataTypeSymbol.cs (1)
355NativeIntegerTypeSymbol.VerifyEquality(this, other);
Symbols\NativeIntegerTypeSymbol.cs (15)
280private readonly NativeIntegerTypeSymbol _type; 283internal NativeIntegerTypeMap(NativeIntegerTypeSymbol type) 310private readonly NativeIntegerTypeSymbol _container; 314internal NativeIntegerMethodSymbol(NativeIntegerTypeSymbol container, MethodSymbol underlyingMethod, NativeIntegerPropertySymbol? associatedSymbol) 320NativeIntegerTypeSymbol.VerifyEquality(this, underlyingMethod); 361public override bool Equals(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol.UnderlyingMethod); 379private readonly NativeIntegerTypeSymbol _containingType; 382internal NativeIntegerParameterSymbol(NativeIntegerTypeSymbol containingType, NativeIntegerMethodSymbol container, ParameterSymbol underlyingParameter) : base(underlyingParameter) 388NativeIntegerTypeSymbol.VerifyEquality(this, underlyingParameter); 409public override bool Equals(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol._underlyingParameter); 427private readonly NativeIntegerTypeSymbol _container; 430NativeIntegerTypeSymbol container, 432Func<NativeIntegerTypeSymbol, NativeIntegerPropertySymbol, MethodSymbol?, NativeIntegerMethodSymbol?> getAccessor) : 439NativeIntegerTypeSymbol.VerifyEquality(this, underlyingProperty); 458public override bool Equals(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol._underlyingProperty);
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1657return t2 is NativeIntegerTypeSymbol nativeInteger ?
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
10929var derivedNint = (NativeIntegerTypeSymbol)derivedM.ReturnType;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\NativeIntegerTests.cs (2)
815Assert.IsType<NativeIntegerTypeSymbol>(type); 1107Assert.IsType<NativeIntegerTypeSymbol>(type);