12 references to CreateNativeIntegerTypeSymbol
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
53return new SymbolKeyResolution(reader.Compilation.CreateNativeIntegerTypeSymbol(signed));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
10363var fromAPI = comp.CreateNativeIntegerTypeSymbol(signed: true); 10376fromAPI = comp.CreateNativeIntegerTypeSymbol(signed: false);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NativeIntegerTests.cs (6)
1620var type = comp.CreateNativeIntegerTypeSymbol(signed); 1626var type = comp.CreateNativeIntegerTypeSymbol(signed); 1665VerifyErrorType(comp.CreateNativeIntegerTypeSymbol(signed: true), SpecialType.System_IntPtr, isNativeInt: true); 1666VerifyErrorType(comp.CreateNativeIntegerTypeSymbol(signed: false), SpecialType.System_UIntPtr, isNativeInt: true); 1667VerifyErrorType(((Compilation)comp).CreateNativeIntegerTypeSymbol(signed: true), SpecialType.System_IntPtr, isNativeInt: true); 1668VerifyErrorType(((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)
53return new SymbolKeyResolution(reader.Compilation.CreateNativeIntegerTypeSymbol(signed));