21 references to RuntimeSupportsNumericIntPtr
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Operators.cs (2)
5863if (Compilation.Assembly.RuntimeSupportsNumericIntPtr) 5879if (Compilation.Assembly.RuntimeSupportsNumericIntPtr)
Compilation\CSharpCompilation.cs (1)
4753return !Assembly.RuntimeSupportsNumericIntPtr;
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (2)
1493Debug.Assert(!_compilation.Assembly.RuntimeSupportsNumericIntPtr); 1792Debug.Assert(!_compilation.Assembly.RuntimeSupportsNumericIntPtr);
Symbols\AssemblySymbol.cs (1)
423return this.RuntimeSupportsNumericIntPtr;
Symbols\Compilation_WellKnownMembers.cs (1)
1057Debug.Assert(type.ContainingAssembly?.RuntimeSupportsNumericIntPtr != true);
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (1)
19|| type.ContainingAssembly?.RuntimeSupportsNumericIntPtr == true)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2998if (ContainingAssembly.RuntimeSupportsNumericIntPtr)
Symbols\NativeIntegerTypeSymbol.cs (1)
35Debug.Assert(!underlyingType.ContainingAssembly.RuntimeSupportsNumericIntPtr);
Symbols\Source\CustomModifierUtils.cs (1)
81if (!containingAssembly.RuntimeSupportsNumericIntPtr)
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1799if (ContainingAssembly.RuntimeSupportsNumericIntPtr)
Symbols\TypeSymbol.cs (1)
571|| (SpecialType is SpecialType.System_IntPtr or SpecialType.System_UIntPtr && this.ContainingAssembly.RuntimeSupportsNumericIntPtr);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\ExtensionTests2.cs (2)
21152Assert.True(comp.Assembly.RuntimeSupportsNumericIntPtr); 21159Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NativeIntegerTests.cs (6)
76Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr); 91Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr); 181Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr); 187Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr); 194Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr); 200Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr);