13 references to WithCompilerInternalOptions
Microsoft.CodeAnalysis (3)
SymbolDisplay\SymbolDisplayFormat.cs (3)
213WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 769=> WithCompilerInternalOptions(this.CompilerInternalOptions | options); 775=> WithCompilerInternalOptions(this.CompilerInternalOptions & ~options);
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Symbol.cs (1)
1025.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.IncludeContainingFileForFileTypes);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
10388Assert.Equal("System.IntPtr", type.ToDisplayString(TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.UseNativeIntegerUnderlyingType))); 10397Assert.Equal("System.UIntPtr", type.ToDisplayString(TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.UseNativeIntegerUnderlyingType)));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_Nullable.cs (1)
4198WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
SymbolDisplay\SymbolDisplayTests.cs (3)
6217.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 6289.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 8248var formatWithUnderlyingTypes = formatWithoutOptions.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.UseNativeIntegerUnderlyingType);
Symbols\Source\FileModifierTests.cs (1)
4126Assert.Equal("System.Void@<tree 0>", typeInfo.Type!.ToDisplayString(SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.IncludeContainingFileForFileTypes)));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
NativeIntegerAttributesVisitor.cs (1)
35WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.UseNativeIntegerUnderlyingType);
SymbolUtilities.cs (1)
99.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None);