12 references to CreateNativeIntegerTypeSymbol
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
59return new SymbolKeyResolution(reader.Compilation.CreateNativeIntegerTypeSymbol(signed));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
10357var fromAPI = comp.CreateNativeIntegerTypeSymbol(signed: true); 10370fromAPI = comp.CreateNativeIntegerTypeSymbol(signed: false);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NativeIntegerTests.cs (6)
1615var type = comp.CreateNativeIntegerTypeSymbol(signed); 1621var type = comp.CreateNativeIntegerTypeSymbol(signed); 1660VerifyErrorType(comp.CreateNativeIntegerTypeSymbol(signed: true), SpecialType.System_IntPtr, isNativeInt: true); 1661VerifyErrorType(comp.CreateNativeIntegerTypeSymbol(signed: false), SpecialType.System_UIntPtr, isNativeInt: true); 1662VerifyErrorType(((Compilation)comp).CreateNativeIntegerTypeSymbol(signed: true), SpecialType.System_IntPtr, isNativeInt: true); 1663VerifyErrorType(((Compilation)comp).CreateNativeIntegerTypeSymbol(signed: false), SpecialType.System_UIntPtr, isNativeInt: true);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\NativeIntegerTests.vb (2)
70Assert.Throws(Of NotSupportedException)(Function() comp.CreateNativeIntegerTypeSymbol(signed:=True)) 71Assert.Throws(Of NotSupportedException)(Function() comp.CreateNativeIntegerTypeSymbol(signed:=False))
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
59return new SymbolKeyResolution(reader.Compilation.CreateNativeIntegerTypeSymbol(signed));