167 references to MinimallyQualifiedFormat
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\SymbolDeclaredCompilationEvent.cs (1)
54
return "SymbolDeclaredCompilationEvent(" + name + " " + Symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
) + loc + ")";
Symbols\ITypeSymbol.cs (2)
163
/// <param name="format">Formatting rules - null implies <see cref="SymbolDisplayFormat.
MinimallyQualifiedFormat
"/></param>
179
/// <param name="format">Formatting rules - null implies <see cref="SymbolDisplayFormat.
MinimallyQualifiedFormat
"/></param>
Microsoft.CodeAnalysis.CSharp (22)
Emitter\NoPia\EmbeddedTypesManager.cs (1)
503
Error(diagnostics, ErrorCode.ERR_InteropMethodWithBody, syntaxNodeOpt, method.AdaptedMethodSymbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
FlowAnalysis\NullableWalker.cs (2)
2306
new FormattedSymbol(containingSymbol, SymbolDisplayFormat.
MinimallyQualifiedFormat
);
8715
new FormattedSymbol(sourceInvokeMethod, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
SymbolDisplay\SymbolDisplay.cs (5)
97
format ??= SymbolDisplayFormat.
MinimallyQualifiedFormat
;
119
format ??= SymbolDisplayFormat.
MinimallyQualifiedFormat
;
188
format ??= SymbolDisplayFormat.
MinimallyQualifiedFormat
;
201
format ??= SymbolDisplayFormat.
MinimallyQualifiedFormat
;
212
format ??= SymbolDisplayFormat.
MinimallyQualifiedFormat
;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1253
diagnostics.Add(ErrorCode.WRN_DoesNotReturnMismatch, overrideMethod.GetFirstLocation(), new FormattedSymbol(overrideMethod, SymbolDisplayFormat.
MinimallyQualifiedFormat
));
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
574
new FormattedSymbol(definition, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
575
new FormattedSymbol(implementation, SymbolDisplayFormat.
MinimallyQualifiedFormat
));
Symbols\Source\SourcePropertySymbol.cs (2)
711
new FormattedSymbol(this, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
712
new FormattedSymbol(implementation, SymbolDisplayFormat.
MinimallyQualifiedFormat
));
Symbols\TypeSymbol.cs (9)
1780
implementingEvent.GetFirstLocation(), new FormattedSymbol(implementedEvent, SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1786
new FormattedSymbol(implementingEvent, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
1787
new FormattedSymbol(implementedEvent, SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1811
implementingMethod.GetFirstLocation(), new FormattedSymbol(implementedMethod.ConstructedFrom, SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1819
new FormattedSymbol(implementingMethod, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
1820
new FormattedSymbol(implementedMethod.ConstructedFrom, SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1834
new FormattedSymbol(implementedMethod.ConstructedFrom, SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1843
new FormattedSymbol(implementingMethod, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
1844
new FormattedSymbol(implementedMethod.ConstructedFrom, SymbolDisplayFormat.
MinimallyQualifiedFormat
));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\ReplaceDefaultLiteral\CSharpReplaceDefaultLiteralCodeFixProvider.cs (2)
108
return (defaultExpression, $"default({type.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
)})");
117
return (memberAccess, $"{type.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
)}.{memberName}");
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (10)
CodeGen\CodeGenDeconstructTests.cs (10)
6001
Assert.Equal("int _", symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
6041
Assert.Equal("int _", symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
6050
Assert.Equal("int _", symbolClone.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
6094
Assert.Equal("List<int> _", symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
6144
Assert.Equal("double _", symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
6150
Assert.Equal("int _", symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
6257
Assert.Equal("int _", symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
6307
Assert.Equal("long _", model.GetSymbolInfo(discard1).Symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
6405
Assert.Equal("int _", model.GetSymbolInfo(discard2).Symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
6997
Assert.Equal("int _", model.GetSymbolInfo(discard3).Symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\OutVarTests.cs (1)
33098
Assert.Equal("int _", discard3Symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
Microsoft.CodeAnalysis.CSharp.Features (8)
Completion\CompletionProviders\CrefCompletionProvider.cs (1)
47
SymbolDisplayFormat.
MinimallyQualifiedFormat
.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.ExpandValueTuple);
LanguageServices\CSharpSymbolDisplayService.SymbolDescriptionBuilder.cs (2)
28
private static readonly SymbolDisplayFormat s_minimallyQualifiedFormat = SymbolDisplayFormat.
MinimallyQualifiedFormat
167
=> symbol == null ? null : CodeAnalysis.CSharp.SymbolDisplay.ToDisplayString(symbol, SymbolDisplayFormat.
MinimallyQualifiedFormat
);
SignatureHelp\AbstractCSharpSignatureHelpProvider.cs (1)
15
private static readonly SymbolDisplayFormat s_allowDefaultLiteralFormat = SymbolDisplayFormat.
MinimallyQualifiedFormat
SignatureHelp\GenericNameSignatureHelpProvider.cs (2)
208
SymbolDisplayFormat.
MinimallyQualifiedFormat
.WithGenericsOptions(
209
SymbolDisplayFormat.
MinimallyQualifiedFormat
.GenericsOptions | SymbolDisplayGenericsOptions.IncludeVariance);
src\Analyzers\CSharp\CodeFixes\ReplaceDefaultLiteral\CSharpReplaceDefaultLiteralCodeFixProvider.cs (2)
108
return (defaultExpression, $"default({type.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
)})");
117
return (memberAccess, $"{type.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
)}.{memberName}");
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NullableReferenceTypesTests.cs (6)
71785
Assert.Equal("object _", discard1.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
71789
Assert.Equal("object? _", discard2.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
71793
Assert.Equal("C<object> _", discard3.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
71797
Assert.Equal("C<object?> _", discard4.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
71801
Assert.Equal("C<object> _", discard5.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
71938
Assert.Equal("object _", model.GetSymbolInfo(discard2).Symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (28)
SymbolDisplay\SymbolDisplayTests.cs (16)
2934
var format = SymbolDisplayFormat.
MinimallyQualifiedFormat
;
3274
var format = SymbolDisplayFormat.
MinimallyQualifiedFormat
;
5591
SymbolDisplay.ToDisplayParts(symbol, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
5629
SymbolDisplay.ToDisplayParts(model.GetSymbolInfo(actualThis).Symbol, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
5639
SymbolDisplay.ToDisplayParts(model.GetSymbolInfo(escapedThis).Symbol, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
6076
var description = symbol.ToMinimalDisplayParts(model, position, SymbolDisplayFormat.
MinimallyQualifiedFormat
);
6321
var formatWithoutAllowDefaultLiteral = SymbolDisplayFormat.
MinimallyQualifiedFormat
;
6448
var formatWithoutAllowDefaultLiteral = SymbolDisplayFormat.
MinimallyQualifiedFormat
;
6492
var formatWithoutAllowDefaultLiteral = SymbolDisplayFormat.
MinimallyQualifiedFormat
;
6755
SymbolDisplayFormat.
MinimallyQualifiedFormat
),
6849
SymbolDisplayFormat.
MinimallyQualifiedFormat
.AddLocalOptions(SymbolDisplayLocalOptions.IncludeRef)),
6882
SymbolDisplayFormat.
MinimallyQualifiedFormat
.AddLocalOptions(SymbolDisplayLocalOptions.IncludeRef)),
6894
SymbolDisplayFormat.
MinimallyQualifiedFormat
),
6927
SymbolDisplayFormat.
MinimallyQualifiedFormat
.AddLocalOptions(SymbolDisplayLocalOptions.IncludeRef)),
6941
SymbolDisplayFormat.
MinimallyQualifiedFormat
),
7013
SymbolDisplayFormat.
MinimallyQualifiedFormat
Symbols\Source\CustomModifierCopyTests.cs (12)
1012
interfaceMethod1.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1022
classMethod1.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1067
AssertEx.Equal("(object, object) C.M((object c, object d) x)", classMethod3.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1084
AssertEx.Equal("(object a, object b) C.M((object c, object d) x)", classMethod4.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1140
AssertEx.Equal("(object a, object b) I.P", interfaceProperty1.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1146
AssertEx.Equal("(object a, object b) C.P", classProperty1.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1288
baseMethod1.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1296
Assert.Equal("(object a, object b) Base.P", baseProperty1.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1303
Assert.Equal("(object a, object b) C.P", classProperty1.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1307
AssertEx.Equal("(object a, object b) C.M((object c, object d) y)", classMethod1.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1335
AssertEx.Equal("(object, object) C.M((object c, object d) y)", classMethod2.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
1357
AssertEx.Equal("(object a, object b) C.M((object, object) y)", classMethod3.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (5)
CompilationTestUtils.cs (5)
34
string[] symbolDescriptions = (from s in symbols select s.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
)).ToArray();
49
string[] symbolDescriptions = (from s in symbols select s.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
)).ToArray();
63
AssertEx.SetEqual(symbols.Select(s => s.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
)), descriptions);
74
Assert.Equal(symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
), description);
79
Assert.Equal(symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
), description);
Microsoft.CodeAnalysis.Features (9)
Common\TaggedText.cs (1)
95
getNavigationHint ??= static symbol => symbol?.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
);
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (2)
455
return (target: SymbolKey.CreateString(symbol), hint: symbol.ToMinimalDisplayString(semanticModel, position, format ?? SymbolDisplayFormat.
MinimallyQualifiedFormat
));
505
format ??= SymbolDisplayFormat.
MinimallyQualifiedFormat
;
LanguageServices\AnonymousTypeDisplayService\AbstractStructuralTypeDisplayService.cs (1)
16
protected static readonly SymbolDisplayFormat s_minimalWithoutExpandedTuples = SymbolDisplayFormat.
MinimallyQualifiedFormat
.AddMiscellaneousOptions(
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
277
private static readonly SymbolDisplayFormat s_formatForCaptures = SymbolDisplayFormat.
MinimallyQualifiedFormat
SignatureHelp\AbstractSignatureHelpProvider.cs (4)
23
SymbolDisplayFormat.
MinimallyQualifiedFormat
.WithMemberOptions(
24
SymbolDisplayFormat.
MinimallyQualifiedFormat
.MemberOptions & ~SymbolDisplayMemberOptions.IncludeParameters);
27
SymbolDisplayFormat.
MinimallyQualifiedFormat
.WithGenericsOptions(
28
SymbolDisplayFormat.
MinimallyQualifiedFormat
.GenericsOptions & ~SymbolDisplayGenericsOptions.IncludeTypeParameters);
Microsoft.CodeAnalysis.VisualBasic (3)
Emit\NoPia\EmbeddedTypesManager.vb (1)
423
ReportDiagnostic(diagnostics, ERRID.ERR_InteropMethodWithBody1, syntaxNodeOpt, method.AdaptedMethodSymbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
))
SymbolDisplay\SymbolDisplay.vb (2)
48
format = If(format, SymbolDisplayFormat.
MinimallyQualifiedFormat
)
99
format = If(format, SymbolDisplayFormat.
MinimallyQualifiedFormat
)
Microsoft.CodeAnalysis.VisualBasic.Features (8)
Completion\CompletionProviders\CompletionListTagCompletionProvider.vb (1)
87
Dim displayFormat = SymbolDisplayFormat.
MinimallyQualifiedFormat
.WithMemberOptions(SymbolDisplayMemberOptions.IncludeContainingType).WithKindOptions(SymbolDisplayKindOptions.None)
Completion\CompletionProviders\CrefCompletionProvider.vb (1)
35
SymbolDisplayFormat.
MinimallyQualifiedFormat
.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.ExpandValueTuple)
Completion\CompletionProviders\EnumCompletionProvider.vb (1)
112
Dim displayFormat = SymbolDisplayFormat.
MinimallyQualifiedFormat
.WithMemberOptions(SymbolDisplayMemberOptions.IncludeContainingType).WithLocalOptions(SymbolDisplayLocalOptions.None)
Completion\CompletionProviders\ImplementsClauseCompletionProvider.vb (1)
296
SymbolDisplayFormat.
MinimallyQualifiedFormat
.WithGenericsOptions(SymbolDisplayGenericsOptions.None)
LanguageServices\VisualBasicSymbolDisplayService.SymbolDescriptionBuilder.vb (2)
18
Private Shared ReadOnly s_minimallyQualifiedFormat As SymbolDisplayFormat = SymbolDisplayFormat.
MinimallyQualifiedFormat
_
94
Return If(symbol Is Nothing, Nothing, CodeAnalysis.VisualBasic.SymbolDisplay.ToDisplayString(symbol, SymbolDisplayFormat.
MinimallyQualifiedFormat
))
SignatureHelp\GenericNameSignatureHelpProvider.vb (2)
147
Private Shared ReadOnly s_minimallyQualifiedFormat As SymbolDisplayFormat = SymbolDisplayFormat.
MinimallyQualifiedFormat
.WithGenericsOptions(SymbolDisplayFormat.
MinimallyQualifiedFormat
.GenericsOptions Or SymbolDisplayGenericsOptions.IncludeVariance)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (56)
SymbolDisplay\SymbolDisplayTests.vb (56)
3733
Dim format = SymbolDisplayFormat.
MinimallyQualifiedFormat
4139
typeQualificationStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.TypeQualificationStyle,
4140
genericsOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.GenericsOptions,
4141
memberOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.MemberOptions,
4142
delegateStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.DelegateStyle,
4143
extensionMethodStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.ExtensionMethodStyle,
4144
parameterOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.ParameterOptions,
4145
propertyStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.PropertyStyle,
4146
localOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.LocalOptions,
4147
kindOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.KindOptions,
4148
miscellaneousOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.MiscellaneousOptions)
4191
typeQualificationStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.TypeQualificationStyle,
4192
genericsOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.GenericsOptions,
4193
memberOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.MemberOptions,
4194
delegateStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.DelegateStyle,
4195
extensionMethodStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.ExtensionMethodStyle,
4196
parameterOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.ParameterOptions,
4197
propertyStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.PropertyStyle,
4198
localOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.LocalOptions,
4199
kindOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.KindOptions,
4200
miscellaneousOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.MiscellaneousOptions)
4241
typeQualificationStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.TypeQualificationStyle,
4242
genericsOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.GenericsOptions,
4243
memberOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.MemberOptions,
4244
delegateStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.DelegateStyle,
4245
extensionMethodStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.ExtensionMethodStyle,
4246
parameterOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.ParameterOptions,
4247
propertyStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.PropertyStyle,
4248
localOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.LocalOptions,
4249
kindOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.KindOptions,
4250
miscellaneousOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.MiscellaneousOptions)
4405
typeQualificationStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.TypeQualificationStyle,
4406
genericsOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.GenericsOptions,
4407
memberOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.MemberOptions,
4408
delegateStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.DelegateStyle,
4409
extensionMethodStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.ExtensionMethodStyle,
4410
parameterOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.ParameterOptions,
4411
propertyStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.PropertyStyle,
4412
localOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.LocalOptions,
4413
kindOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.KindOptions,
4414
miscellaneousOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.MiscellaneousOptions)
4461
typeQualificationStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.TypeQualificationStyle,
4462
genericsOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.GenericsOptions,
4463
memberOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.MemberOptions,
4464
delegateStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.DelegateStyle,
4465
extensionMethodStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.ExtensionMethodStyle,
4466
parameterOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.ParameterOptions,
4467
propertyStyle:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.PropertyStyle,
4468
localOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.LocalOptions,
4469
kindOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.KindOptions,
4470
miscellaneousOptions:=SymbolDisplayFormat.
MinimallyQualifiedFormat
.MiscellaneousOptions)
4934
Dim formatWithoutAllowDefaultLiteral = SymbolDisplayFormat.
MinimallyQualifiedFormat
5177
SymbolDisplay.ToDisplayParts(symbol, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
5268
ToDisplayParts(model.GetSymbolInfo(actualThis).Symbol, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
5280
ToDisplayParts(model.GetSymbolInfo(escapedThis).Symbol, SymbolDisplayFormat.
MinimallyQualifiedFormat
),
5495
Dim description = symbol.ToMinimalDisplayParts(model, position, SymbolDisplayFormat.
MinimallyQualifiedFormat
)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
CompilationTestUtils.vb (2)
1209
Dim symbolDescriptions As String() = (From s In symbols Select s.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
)).ToArray()
1223
Assert.Equal(symbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
), description)
Microsoft.Extensions.Options.SourceGeneration (3)
Parser.cs (3)
190
=> type.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
.AddGenericsOptions(SymbolDisplayGenericsOptions.IncludeTypeParameters));
193
=> type.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
.WithGenericsOptions(SymbolDisplayGenericsOptions.None));
475
Diag(DiagDescriptors.InaccessibleValidationAttribute, location, attributeType.Name, member.OriginalDefinition.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
), validatorType.Name);
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
197
string typeName = typeSymbol.ToDisplayString(SymbolDisplayFormat.
MinimallyQualifiedFormat
);