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; 752case BinaryOperatorKind.NInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: true); 753case BinaryOperatorKind.NUInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: false); 784case BinaryOperatorKind.NInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: true); 785case BinaryOperatorKind.NUInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: false); 816case BinaryOperatorKind.NInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: true); 817case BinaryOperatorKind.NUInt: return _compilation.CreateNativeIntegerTypeSymbol(signed: false); 843BinaryOperatorKind.NInt => _compilation.CreateNativeIntegerTypeSymbol(signed: true), 844BinaryOperatorKind.NUInt => _compilation.CreateNativeIntegerTypeSymbol(signed: false),
Compilation\CSharpCompilation.cs (1)
4176return CreateNativeIntegerTypeSymbol(signed).GetPublicSymbol();
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
1253return (compilation.CreateNativeIntegerTypeSymbol(signed: true), constantOne); 1256return (compilation.CreateNativeIntegerTypeSymbol(signed: false), constantOne);
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 (3)
Semantics\NativeIntegerTests.cs (3)
1620var type = comp.CreateNativeIntegerTypeSymbol(signed); 1665VerifyErrorType(comp.CreateNativeIntegerTypeSymbol(signed: true), SpecialType.System_IntPtr, isNativeInt: true); 1666VerifyErrorType(comp.CreateNativeIntegerTypeSymbol(signed: false), SpecialType.System_UIntPtr, isNativeInt: true);