2 overrides of IsNativeIntegerWrapperType
Microsoft.CodeAnalysis.CSharp (2)
Symbols\MissingMetadataTypeSymbol.cs (1)
362internal sealed override bool IsNativeIntegerWrapperType => _isNativeInt;
Symbols\NativeIntegerTypeSymbol.cs (1)
174internal override bool IsNativeIntegerWrapperType => true;
43 references to IsNativeIntegerWrapperType
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (1)
1412|| type.IsNativeIntegerWrapperType
CodeGen\EmitConversion.cs (1)
157(toPredefTypeKind == Microsoft.Cci.PrimitiveTypeCode.IntPtr || toPredefTypeKind == Microsoft.Cci.PrimitiveTypeCode.UIntPtr) && !toType.IsNativeIntegerWrapperType ||
Symbols\AliasSymbol.cs (1)
416if (namespaceOrType is TypeSymbol { IsNativeIntegerWrapperType: true } &&
Symbols\Compilation_WellKnownMembers.cs (1)
1055builder.Add(type.IsNativeIntegerWrapperType);
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (1)
120return (_transformFlags[_index++], type.IsNativeIntegerWrapperType) switch
Symbols\NativeIntegerTypeSymbol.cs (1)
206other.IsNativeIntegerWrapperType;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
209if (type.IsNativeIntegerWrapperType)
Symbols\TypeSymbol.cs (1)
570internal bool IsNativeIntegerType => IsNativeIntegerWrapperType
Symbols\TypeSymbolExtensions.cs (1)
1250var result = type.VisitType((type, unused1, unused2) => type.IsNativeIntegerWrapperType, (object?)null, canDigThroughNullable: true);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
Emit\NumericIntPtrTests.cs (4)
10365Assert.False(fromAPI.IsNativeIntegerWrapperType); 10378Assert.False(fromAPI.IsNativeIntegerWrapperType); 10404Assert.False(type.IsNativeIntegerWrapperType); 10738Assert.False(m.ReturnType.IsNativeIntegerWrapperType);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (30)
Semantics\NativeIntegerTests.cs (30)
231Assert.Equal(isNativeInt, type.IsNativeIntegerWrapperType); 610return type.Type.VisitType((type, unused1, unused2) => type.SpecialType == specialType && useNativeInteger == type.IsNativeIntegerWrapperType, (object)null) is { }; 733Assert.Equal(isNativeInt, type.IsNativeIntegerWrapperType); 819Assert.True(type.IsNativeIntegerWrapperType); 932Assert.True(type.IsNativeIntegerWrapperType); 1039Assert.True(type.IsNativeIntegerWrapperType); 1111Assert.True(type.IsNativeIntegerWrapperType); 1159Assert.True(type1.IsNativeIntegerWrapperType); 1180Assert.False(type2.IsNativeIntegerWrapperType); 1234Assert.True(typeA.IsNativeIntegerWrapperType); 1252Assert.False(typeB.IsNativeIntegerWrapperType); 1552Assert.True(type.IsNativeIntegerWrapperType); 1808Assert.True(type.IsNativeIntegerWrapperType); 1973Assert.True(type.IsNativeIntegerWrapperType); 2143Assert.True(type.IsNativeIntegerWrapperType); 2239Assert.True(type.IsNativeIntegerWrapperType); 2366Assert.True(type.IsNativeIntegerWrapperType); 2486Assert.True(type.IsNativeIntegerWrapperType); 2642Assert.True(type.IsNativeIntegerWrapperType); 2744Assert.True(type.IsNativeIntegerWrapperType); 2884Assert.True(type.IsNativeIntegerWrapperType); 3649Assert.False(underlyingType0.IsNativeIntegerWrapperType); 3651Assert.True(underlyingType1.IsNativeIntegerWrapperType); 3691Assert.False(underlyingType0.IsNativeIntegerWrapperType); 3693Assert.False(underlyingType1.IsNativeIntegerWrapperType); 3725Assert.False(underlyingType0.IsNativeIntegerWrapperType); 3727Assert.True(underlyingType1.IsNativeIntegerWrapperType); 3759Assert.False(underlyingType0.IsNativeIntegerWrapperType); 3761Assert.True(underlyingType1.IsNativeIntegerWrapperType); 4846return type.IsNativeIntegerWrapperType &&