18 references to CreateNativeIntegerTypeSymbol
Microsoft.CodeAnalysis.CSharp (13)
Compilation\BuiltInOperators.cs (10)
272case UnaryOperatorKind.NInt: opType = _compilation.CreateNativeIntegerTypeSymbol(signed: true); break; 273case UnaryOperatorKind.NUInt: opType = _compilation.CreateNativeIntegerTypeSymbol(signed: false); break; 755case BinaryOperatorKind.NInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: true); 756case BinaryOperatorKind.NUInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: false); 787case BinaryOperatorKind.NInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: true); 788case BinaryOperatorKind.NUInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: false); 819case BinaryOperatorKind.NInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: true); 820case BinaryOperatorKind.NUInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: false); 848case BinaryOperatorKind.NInt: return nullable.Construct(_compilation.CreateNativeIntegerTypeSymbol(signed: true)); 849case BinaryOperatorKind.NUInt: return nullable.Construct(_compilation.CreateNativeIntegerTypeSymbol(signed: false));
Compilation\CSharpCompilation.cs (1)
3814return CreateNativeIntegerTypeSymbol(signed).GetPublicSymbol();
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
1089return (compilation.CreateNativeIntegerTypeSymbol(signed: true), constantOne); 1092return (compilation.CreateNativeIntegerTypeSymbol(signed: false), constantOne);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
10323var fromAPI = comp.CreateNativeIntegerTypeSymbol(signed: true); 10336fromAPI = comp.CreateNativeIntegerTypeSymbol(signed: false);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\NativeIntegerTests.cs (3)
1615var type = comp.CreateNativeIntegerTypeSymbol(signed); 1660VerifyErrorType(comp.CreateNativeIntegerTypeSymbol(signed: true), SpecialType.System_IntPtr, isNativeInt: true); 1661VerifyErrorType(comp.CreateNativeIntegerTypeSymbol(signed: false), SpecialType.System_UIntPtr, isNativeInt: true);