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)
3010return 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)
311private readonly NativeIntegerTypeSymbol _type; 314internal NativeIntegerTypeMap(NativeIntegerTypeSymbol type) 341private readonly NativeIntegerTypeSymbol _container; 345internal NativeIntegerMethodSymbol(NativeIntegerTypeSymbol container, MethodSymbol underlyingMethod, NativeIntegerPropertySymbol? associatedSymbol) 351NativeIntegerTypeSymbol.VerifyEquality(this, underlyingMethod); 408public override bool Equals(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol.UnderlyingMethod); 435private readonly NativeIntegerTypeSymbol _containingType; 438internal NativeIntegerParameterSymbol(NativeIntegerTypeSymbol containingType, NativeIntegerMethodSymbol container, ParameterSymbol underlyingParameter) : base(underlyingParameter) 444NativeIntegerTypeSymbol.VerifyEquality(this, underlyingParameter); 467public override bool Equals(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol._underlyingParameter); 485private readonly NativeIntegerTypeSymbol _container; 488NativeIntegerTypeSymbol container, 490Func<NativeIntegerTypeSymbol, NativeIntegerPropertySymbol, MethodSymbol?, NativeIntegerMethodSymbol?> getAccessor) : 497NativeIntegerTypeSymbol.VerifyEquality(this, underlyingProperty); 516public 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);