5 references to UseNativeIntegerUnderlyingType
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
205
(symbol.IsNativeIntegerType && !format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.
UseNativeIntegerUnderlyingType
)))
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
10348
Assert.Equal("System.IntPtr", type.ToDisplayString(SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.
UseNativeIntegerUnderlyingType
)));
10357
Assert.Equal("System.UIntPtr", type.ToDisplayString(SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.
UseNativeIntegerUnderlyingType
)));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
SymbolDisplay\SymbolDisplayTests.cs (1)
7825
var formatWithUnderlyingTypes = formatWithoutOptions.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.
UseNativeIntegerUnderlyingType
);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
NativeIntegerAttributesVisitor.cs (1)
35
WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.
UseNativeIntegerUnderlyingType
);