1 write to GenericsOptions
Microsoft.CodeAnalysis (1)
SymbolDisplay\SymbolDisplayFormat.cs (1)
419this.GenericsOptions = genericsOptions;
27 references to GenericsOptions
Microsoft.CodeAnalysis (11)
CodeGen\CompilationTestData.cs (1)
115_testDataKeyFormat.GenericsOptions,
SymbolDisplay\SymbolDisplayFormat.cs (10)
210internal static readonly SymbolDisplayFormat TestFormatWithConstraints = TestFormat.WithGenericsOptions(TestFormat.GenericsOptions | SymbolDisplayGenericsOptions.IncludeTypeConstraints). 444this.GenericsOptions, 513return this.WithGenericsOptions(this.GenericsOptions | options); 527return this.WithGenericsOptions(this.GenericsOptions & ~options); 543this.GenericsOptions, 597this.GenericsOptions, 649this.GenericsOptions, 701this.GenericsOptions, 725this.GenericsOptions, 785this.GenericsOptions,
Microsoft.CodeAnalysis.CSharp.Features (1)
SignatureHelp\GenericNameSignatureHelpProvider.cs (1)
209SymbolDisplayFormat.MinimallyQualifiedFormat.GenericsOptions | SymbolDisplayGenericsOptions.IncludeVariance);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\NullableReferenceTypesTests.cs (2)
97656Assert.Equal("void B.F2<T2>(T2 t2) where T2 : class?", f2.ToDisplayString(SymbolDisplayFormat.TestFormat.WithGenericsOptions(SymbolDisplayFormat.TestFormat.GenericsOptions | SymbolDisplayGenericsOptions.IncludeTypeConstraints))); 97657Assert.Equal("void B.F2<T2>(T2 t2) where T2 : class", f2.ToDisplayString(SymbolDisplayFormat.TestFormat.WithGenericsOptions(SymbolDisplayFormat.TestFormat.GenericsOptions | SymbolDisplayGenericsOptions.IncludeTypeConstraints).
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
SymbolDisplay\SymbolDisplayTests.cs (1)
3646genericsOptions: SymbolDisplayFormat.CSharpErrorMessageFormat.GenericsOptions,
Microsoft.CodeAnalysis.Features (1)
SignatureHelp\AbstractSignatureHelpProvider.cs (1)
28SymbolDisplayFormat.MinimallyQualifiedFormat.GenericsOptions & ~SymbolDisplayGenericsOptions.IncludeTypeParameters);
Microsoft.CodeAnalysis.VisualBasic (4)
SymbolDisplay\CustomSymbolDisplayFormatter.vb (4)
32genericsOptions:=SymbolDisplayFormat.VisualBasicErrorMessageFormat.GenericsOptions, 42genericsOptions:=SymbolDisplayFormat.VisualBasicErrorMessageFormat.GenericsOptions, 55genericsOptions:=SymbolDisplayFormat.VisualBasicErrorMessageFormat.GenericsOptions, 67genericsOptions:=SymbolDisplayFormat.VisualBasicShortErrorMessageFormat.GenericsOptions,
Microsoft.CodeAnalysis.VisualBasic.Features (1)
SignatureHelp\GenericNameSignatureHelpProvider.vb (1)
147Private Shared ReadOnly s_minimallyQualifiedFormat As SymbolDisplayFormat = SymbolDisplayFormat.MinimallyQualifiedFormat.WithGenericsOptions(SymbolDisplayFormat.MinimallyQualifiedFormat.GenericsOptions Or SymbolDisplayGenericsOptions.IncludeVariance)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (6)
SymbolDisplay\SymbolDisplayTests.vb (6)
4102genericsOptions:=SymbolDisplayFormat.VisualBasicErrorMessageFormat.GenericsOptions, 4140genericsOptions:=SymbolDisplayFormat.MinimallyQualifiedFormat.GenericsOptions, 4192genericsOptions:=SymbolDisplayFormat.MinimallyQualifiedFormat.GenericsOptions, 4242genericsOptions:=SymbolDisplayFormat.MinimallyQualifiedFormat.GenericsOptions, 4406genericsOptions:=SymbolDisplayFormat.MinimallyQualifiedFormat.GenericsOptions, 4462genericsOptions:=SymbolDisplayFormat.MinimallyQualifiedFormat.GenericsOptions,