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