24 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)
1024.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 (10)
Attributes\AttributeTests_Nullable.cs (1)
4198WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None);
Semantics\ExtensionTests2.cs (9)
24368.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 34371found.ToDisplayString(SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.UseMetadataMemberNames | SymbolDisplayCompilerInternalOptions.UsePlusForNestedTypes))); 35678var displayOptions = SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 35740var displayOptions = SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 35777var displayOptions = SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 35810var displayOptions = SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 35935var displayOptions = SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 36007var displayOptions = SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 36052var displayOptions = SymbolDisplayFormat.TestFormat.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
SymbolDisplay\SymbolDisplayTests.cs (5)
6217.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 6289.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.None); 8248var formatWithUnderlyingTypes = formatWithoutOptions.WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.UseNativeIntegerUnderlyingType); 9178WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.UseArityForGenericTypes); 9217WithCompilerInternalOptions(SymbolDisplayCompilerInternalOptions.UseArityForGenericTypes);
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);