5 implementations of ITypeSymbol_IsNativeIntegerType
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationTypeSymbol.cs (1)
48public bool IsNativeIntegerType => false;
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\TypeSymbol.cs (1)
150bool ITypeSymbol.IsNativeIntegerType => UnderlyingTypeSymbol.IsNativeIntegerType;
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
144public bool IsNativeIntegerType => _symbol.IsNativeIntegerType;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
575Private ReadOnly Property ITypeSymbol_IsNativeIntegerType As Boolean Implements ITypeSymbol.IsNativeIntegerType
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationTypeSymbol.cs (1)
48public bool IsNativeIntegerType => false;
45 references to ITypeSymbol_IsNativeIntegerType
Microsoft.CodeAnalysis.CodeStyle (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
25visitor.WriteBoolean(symbol.IsNativeIntegerType);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (4)
305case SpecialType.System_IntPtr when type.IsNativeIntegerType: 306case SpecialType.System_UIntPtr when type.IsNativeIntegerType: 398case SpecialType.System_IntPtr when symbol.IsNativeIntegerType: 399case SpecialType.System_UIntPtr when symbol.IsNativeIntegerType:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
339if (x.IsNativeIntegerType != y.IsNativeIntegerType) 351if (x.IsNativeIntegerType)
Microsoft.CodeAnalysis.CSharp (3)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (3)
207if (symbol.IsNativeIntegerType) 694case SpecialType.System_IntPtr when symbol.IsNativeIntegerType: 696case SpecialType.System_UIntPtr when symbol.IsNativeIntegerType:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
120if (symbol.IsNativeIntegerType)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
11184Assert.True(nintSymbol.IsNativeIntegerType); 11207Assert.False(symbol.IsNativeIntegerType);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\ExtensionTests.cs (1)
63Assert.False(symbol.IsNativeIntegerType);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\NativeIntegerTests.cs (9)
246Assert.Equal(isNativeInt, type.IsNativeIntegerType); 741Assert.Equal(isNativeInt, type.IsNativeIntegerType); 4083Assert.True(type.IsNativeIntegerType); 4130Assert.False(type.IsNativeIntegerType); 15327Assert.True(nintSymbol.IsNativeIntegerType); 15348Assert.False(nintSymbol.IsNativeIntegerType); 15371Assert.False(symbol.IsNativeIntegerType); 15422Assert.False(symbol.IsNativeIntegerType); 15452Assert.False(symbol.IsNativeIntegerType);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Classification\SyntaxClassification\NameSyntaxClassifier.cs (1)
167if (symbol is ITypeSymbol type && type.IsNativeIntegerType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
120if (symbol.IsNativeIntegerType)
Microsoft.CodeAnalysis.Extensions.Package (7)
Symbols\ITypeSymbolExtensions.cs (4)
305case SpecialType.System_IntPtr when type.IsNativeIntegerType: 306case SpecialType.System_UIntPtr when type.IsNativeIntegerType: 398case SpecialType.System_IntPtr when symbol.IsNativeIntegerType: 399case SpecialType.System_UIntPtr when symbol.IsNativeIntegerType:
Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
339if (x.IsNativeIntegerType != y.IsNativeIntegerType) 351if (x.IsNativeIntegerType)
Microsoft.CodeAnalysis.Features (2)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
144public bool IsNativeIntegerType => _symbol.IsNativeIntegerType;
Snippets\SnippetProviders\AbstractForLoopSnippetProvider.cs (1)
28=> type.IsIntegralType() || type.IsNativeIntegerType;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
575Private ReadOnly Property ITypeSymbol_IsNativeIntegerType As Boolean Implements ITypeSymbol.IsNativeIntegerType
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\NativeIntegerTests.vb (1)
55Assert.Equal(isNativeInteger, type.IsNativeIntegerType)
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
25visitor.WriteBoolean(symbol.IsNativeIntegerType);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (4)
305case SpecialType.System_IntPtr when type.IsNativeIntegerType: 306case SpecialType.System_UIntPtr when type.IsNativeIntegerType: 398case SpecialType.System_IntPtr when symbol.IsNativeIntegerType: 399case SpecialType.System_UIntPtr when symbol.IsNativeIntegerType:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (3)
339if (x.IsNativeIntegerType != y.IsNativeIntegerType) 351if (x.IsNativeIntegerType)