1 instantiation of NativeIntegerTypeSymbol
Microsoft.CodeAnalysis.CSharp (1)
Symbols\MetadataOrSourceAssemblySymbol.cs (1)
153Interlocked.CompareExchange(ref _lazyNativeIntegerTypes[index], new NativeIntegerTypeSymbol(underlyingType), null);
25 references to NativeIntegerTypeSymbol
Microsoft.CodeAnalysis.CSharp (21)
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
1076if (underlyingNamedTypeSymbol is NativeIntegerTypeSymbol)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
3022return t2 is NativeIntegerTypeSymbol nativeInteger ?
Symbols\MetadataOrSourceAssemblySymbol.cs (2)
36private NativeIntegerTypeSymbol[] _lazyNativeIntegerTypes; 141Interlocked.CompareExchange(ref _lazyNativeIntegerTypes, new NativeIntegerTypeSymbol[2], null);
Symbols\MissingMetadataTypeSymbol.cs (1)
356NativeIntegerTypeSymbol.VerifyEquality(this, other);
Symbols\NativeIntegerTypeSymbol.cs (15)
310private readonly NativeIntegerTypeSymbol _type; 313internal NativeIntegerTypeMap(NativeIntegerTypeSymbol type) 340private readonly NativeIntegerTypeSymbol _container; 344internal NativeIntegerMethodSymbol(NativeIntegerTypeSymbol container, MethodSymbol underlyingMethod, NativeIntegerPropertySymbol? associatedSymbol) 350NativeIntegerTypeSymbol.VerifyEquality(this, underlyingMethod); 407public override bool Equals(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol.UnderlyingMethod); 437private readonly NativeIntegerTypeSymbol _containingType; 440internal NativeIntegerParameterSymbol(NativeIntegerTypeSymbol containingType, NativeIntegerMethodSymbol container, ParameterSymbol underlyingParameter) : base(underlyingParameter) 446NativeIntegerTypeSymbol.VerifyEquality(this, underlyingParameter); 469public override bool Equals(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol._underlyingParameter); 490private readonly NativeIntegerTypeSymbol _container; 493NativeIntegerTypeSymbol container, 495Func<NativeIntegerTypeSymbol, NativeIntegerPropertySymbol, MethodSymbol?, NativeIntegerMethodSymbol?> getAccessor) : 502NativeIntegerTypeSymbol.VerifyEquality(this, underlyingProperty); 521public override bool Equals(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol._underlyingProperty);
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1811return t2 is NativeIntegerTypeSymbol nativeInteger ?
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
10969var derivedNint = (NativeIntegerTypeSymbol)derivedM.ReturnType;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\NativeIntegerTests.cs (2)
820Assert.IsType<NativeIntegerTypeSymbol>(type); 1112Assert.IsType<NativeIntegerTypeSymbol>(type);