2 overrides of IsNativeIntegerWrapperType
Microsoft.CodeAnalysis.CSharp (2)
Symbols\MissingMetadataTypeSymbol.cs (1)
361internal sealed override bool IsNativeIntegerWrapperType => _isNativeInt;
Symbols\NativeIntegerTypeSymbol.cs (1)
173internal override bool IsNativeIntegerWrapperType => true;
43 references to IsNativeIntegerWrapperType
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (1)
1369|| type.IsNativeIntegerWrapperType
CodeGen\EmitConversion.cs (1)
157(toPredefTypeKind == Microsoft.Cci.PrimitiveTypeCode.IntPtr || toPredefTypeKind == Microsoft.Cci.PrimitiveTypeCode.UIntPtr) && !toType.IsNativeIntegerWrapperType ||
Symbols\AliasSymbol.cs (1)
421if (namespaceOrType is TypeSymbol { IsNativeIntegerWrapperType: true } &&
Symbols\Compilation_WellKnownMembers.cs (1)
1025builder.Add(type.IsNativeIntegerWrapperType);
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (1)
121return (_transformFlags[_index++], type.IsNativeIntegerWrapperType) switch
Symbols\NativeIntegerTypeSymbol.cs (1)
202other.IsNativeIntegerWrapperType;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
209if (type.IsNativeIntegerWrapperType)
Symbols\TypeSymbol.cs (1)
556internal bool IsNativeIntegerType => IsNativeIntegerWrapperType
Symbols\TypeSymbolExtensions.cs (1)
1160var result = type.VisitType((type, unused1, unused2) => type.IsNativeIntegerWrapperType, (object?)null, canDigThroughNullable: true);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
Emit\NumericIntPtrTests.cs (4)
10325Assert.False(fromAPI.IsNativeIntegerWrapperType); 10338Assert.False(fromAPI.IsNativeIntegerWrapperType); 10364Assert.False(type.IsNativeIntegerWrapperType); 10698Assert.False(m.ReturnType.IsNativeIntegerWrapperType);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (30)
Semantics\NativeIntegerTests.cs (30)
226Assert.Equal(isNativeInt, type.IsNativeIntegerWrapperType); 605return type.Type.VisitType((type, unused1, unused2) => type.SpecialType == specialType && useNativeInteger == type.IsNativeIntegerWrapperType, (object)null) is { }; 728Assert.Equal(isNativeInt, type.IsNativeIntegerWrapperType); 814Assert.True(type.IsNativeIntegerWrapperType); 927Assert.True(type.IsNativeIntegerWrapperType); 1034Assert.True(type.IsNativeIntegerWrapperType); 1106Assert.True(type.IsNativeIntegerWrapperType); 1154Assert.True(type1.IsNativeIntegerWrapperType); 1175Assert.False(type2.IsNativeIntegerWrapperType); 1229Assert.True(typeA.IsNativeIntegerWrapperType); 1247Assert.False(typeB.IsNativeIntegerWrapperType); 1547Assert.True(type.IsNativeIntegerWrapperType); 1803Assert.True(type.IsNativeIntegerWrapperType); 1968Assert.True(type.IsNativeIntegerWrapperType); 2138Assert.True(type.IsNativeIntegerWrapperType); 2234Assert.True(type.IsNativeIntegerWrapperType); 2361Assert.True(type.IsNativeIntegerWrapperType); 2481Assert.True(type.IsNativeIntegerWrapperType); 2637Assert.True(type.IsNativeIntegerWrapperType); 2739Assert.True(type.IsNativeIntegerWrapperType); 2879Assert.True(type.IsNativeIntegerWrapperType); 3644Assert.False(underlyingType0.IsNativeIntegerWrapperType); 3646Assert.True(underlyingType1.IsNativeIntegerWrapperType); 3686Assert.False(underlyingType0.IsNativeIntegerWrapperType); 3688Assert.False(underlyingType1.IsNativeIntegerWrapperType); 3720Assert.False(underlyingType0.IsNativeIntegerWrapperType); 3722Assert.True(underlyingType1.IsNativeIntegerWrapperType); 3754Assert.False(underlyingType0.IsNativeIntegerWrapperType); 3756Assert.True(underlyingType1.IsNativeIntegerWrapperType); 4815return type.IsNativeIntegerWrapperType &&