19 references to RuntimeSupportsNumericIntPtr
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Operators.cs (2)
4364if (Compilation.Assembly.RuntimeSupportsNumericIntPtr) 4380if (Compilation.Assembly.RuntimeSupportsNumericIntPtr)
Compilation\CSharpCompilation.cs (1)
4391return !Assembly.RuntimeSupportsNumericIntPtr;
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (2)
1334Debug.Assert(!_compilation.Assembly.RuntimeSupportsNumericIntPtr); 1637Debug.Assert(!_compilation.Assembly.RuntimeSupportsNumericIntPtr);
Symbols\AssemblySymbol.cs (1)
426return this.RuntimeSupportsNumericIntPtr;
Symbols\Compilation_WellKnownMembers.cs (1)
1015Debug.Assert(type.ContainingAssembly?.RuntimeSupportsNumericIntPtr != true);
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (1)
20|| type.ContainingAssembly?.RuntimeSupportsNumericIntPtr == true)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2494if (ContainingAssembly.RuntimeSupportsNumericIntPtr)
Symbols\NativeIntegerTypeSymbol.cs (1)
34Debug.Assert(!underlyingType.ContainingAssembly.RuntimeSupportsNumericIntPtr);
Symbols\Source\CustomModifierUtils.cs (1)
81if (!containingAssembly.RuntimeSupportsNumericIntPtr)
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1645if (ContainingAssembly.RuntimeSupportsNumericIntPtr)
Symbols\TypeSymbol.cs (1)
557|| (SpecialType is SpecialType.System_IntPtr or SpecialType.System_UIntPtr && this.ContainingAssembly.RuntimeSupportsNumericIntPtr);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NativeIntegerTests.cs (6)
71Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr); 86Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr); 176Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr); 182Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr); 189Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr); 195Assert.False(comp.Assembly.RuntimeSupportsNumericIntPtr);