62 references to CSharpErrorMessageFormat
Microsoft.AspNetCore.Analyzers (1)
OptionsFacts.cs (1)
16
if (string.Equals(item.OptionsType.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
), SymbolNames.MvcOptions.MetadataName) &&
Microsoft.AspNetCore.Components.Analyzers (11)
ComponentParameterAnalyzer.cs (8)
87
property.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
94
property.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
108
property.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
),
109
property.Type.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
),
110
symbols.ParameterCaptureUnmatchedValuesRuntimeType.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
118
property.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
129
type.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
),
133
captureUnmatchedValuesParameters.Select(p => p.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)).OrderBy(n => n))));
JSInvokableAnalyzer.cs (1)
60
method.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
PersistentStateAnalyzer.cs (1)
79
propertySymbol.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
SupplyParameterFromFormAnalyzer.cs (1)
79
propertySymbol.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
Microsoft.AspNetCore.Components.SdkAnalyzers (7)
ComponentParameterAnalyzer.cs (7)
81
property.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
88
property.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
102
property.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
),
103
property.Type.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
),
104
symbols.ParameterCaptureUnmatchedValuesRuntimeType.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
116
type.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
),
120
captureUnmatchedValuesParameters.Select(p => p.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)).OrderBy(n => n))));
Microsoft.CodeAnalysis (1)
SymbolDisplay\SymbolDisplayFormat.cs (1)
37
internal static SymbolDisplayFormat CSharpErrorMessageNoParameterNamesFormat { get; } =
CSharpErrorMessageFormat
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Attributes.cs (2)
254
Error(diagnostics, ErrorCode.ERR_AttributeCtorInParameter, node, attributeConstructor.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
));
970
Binder.Error(diagnostics, ErrorCode.ERR_AttrArgWithTypeVars, node.Syntax, typeOfArgument.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
));
Binder\Binder_Crefs.cs (2)
918
new FormattedSymbol(symbol, SymbolDisplayFormat.
CSharpErrorMessageFormat
),
919
new FormattedSymbol(symbols[otherIndex], SymbolDisplayFormat.
CSharpErrorMessageFormat
));
Binder\Binder_Symbols.cs (4)
2156
new FormattedSymbol(first, SymbolDisplayFormat.
CSharpErrorMessageFormat
),
2157
new FormattedSymbol(second, SymbolDisplayFormat.
CSharpErrorMessageFormat
) });
2302
new FormattedSymbol(first, SymbolDisplayFormat.
CSharpErrorMessageFormat
),
2303
new FormattedSymbol(second, SymbolDisplayFormat.
CSharpErrorMessageFormat
) });
Emitter\EditAndContinue\EmitHelpers.cs (1)
183
string.Format(CodeAnalysisResources.Type0DoesNotHaveExpectedConstructor, type.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
SymbolDisplay\SymbolDisplay.cs (9)
25
/// <param name="format">The formatting options to apply. If null is passed, <see cref="SymbolDisplayFormat.
CSharpErrorMessageFormat
"/> will be used.</param>
35
format = format ?? SymbolDisplayFormat.
CSharpErrorMessageFormat
;
54
format = format ?? SymbolDisplayFormat.
CSharpErrorMessageFormat
;
86
/// <param name="format">The formatting options to apply. If null is passed, <see cref="SymbolDisplayFormat.
CSharpErrorMessageFormat
"/> will be used.</param>
130
/// <param name="format">The formatting options to apply. If null is passed, <see cref="SymbolDisplayFormat.
CSharpErrorMessageFormat
"/> will be used.</param>
140
format = format ?? SymbolDisplayFormat.
CSharpErrorMessageFormat
;
153
format = format ?? SymbolDisplayFormat.
CSharpErrorMessageFormat
;
164
format ??= SymbolDisplayFormat.
CSharpErrorMessageFormat
;
177
/// <param name="format">The formatting options to apply. If null is passed, <see cref="SymbolDisplayFormat.
CSharpErrorMessageFormat
"/> will be used.</param>
Symbols\ObsoleteAttributeHelpers.cs (3)
184
new FormattedSymbol(symbol, SymbolDisplayFormat.
CSharpErrorMessageFormat
));
195
new FormattedSymbol(symbol, SymbolDisplayFormat.
CSharpErrorMessageFormat
));
200
new FormattedSymbol(symbol, SymbolDisplayFormat.
CSharpErrorMessageFormat
), data.Message);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5469
new FormattedSymbol(existingMember, SymbolDisplayFormat.
CSharpErrorMessageFormat
.WithMemberOptions(SymbolDisplayMemberOptions.IncludeContainingType)),
Symbols\TypeWithAnnotations.cs (1)
335
return ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
);
Microsoft.CodeAnalysis.CSharp.Features (3)
CodeLens\CSharpCodeLensDisplayInfoService.cs (1)
21
SymbolDisplayFormat.
CSharpErrorMessageFormat
.RemoveMemberOptions(
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1593
protected override SymbolDisplayFormat ErrorDisplayFormat => SymbolDisplayFormat.
CSharpErrorMessageFormat
;
NavigationBar\CSharpNavigationBarItemService.cs (1)
31
SymbolDisplayFormat.
CSharpErrorMessageFormat
.AddGenericsOptions(SymbolDisplayGenericsOptions.IncludeVariance);
Microsoft.CodeAnalysis.NetAnalyzers (12)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotContainUnderscores.cs (4)
175
symbolAnalysisContext.ReportDiagnostic(symbol.CreateDiagnostic(MemberRule, symbol.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
219
symbolAnalysisContext.ReportDiagnostic(symbol.CreateDiagnostic(MemberRule, symbol.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
267
symbolAnalysisContext.ReportDiagnostic(parameter.CreateDiagnostic(MemberParameterRule, parameter.ContainingSymbol.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
), parameter.Name));
289
symbolAnalysisContext.ReportDiagnostic(typeParameter.CreateDiagnostic(MethodTypeParameterRule, containingSymbol.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
), typeParameter.Name));
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotMatchKeywords.cs (1)
71
SymbolDisplayFormat.
CSharpErrorMessageFormat
Microsoft.NetCore.Analyzers\Performance\UseAsSpanInsteadOfRangeIndexer.cs (2)
207
rangeOperation.Type!.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
),
208
containingType.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
Microsoft.NetCore.Analyzers\Performance\UseConcreteTypeAnalyzer.cs (1)
404
static string GetTypeName(ITypeSymbol type) => type.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
);
Microsoft.NetCore.Analyzers\Runtime\DoNotUseReferenceEqualsWithValueTypes.cs (1)
126
val.Type.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
Microsoft.NetCore.Analyzers\Runtime\SpecifyStringComparison.cs (3)
205
targetMethod.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
),
206
oaContext.ContainingSymbol.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
),
207
correctOverload.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)));
Microsoft.CodeAnalysis.VisualBasic (3)
Emit\EditAndContinue\EmitHelpers.vb (1)
170
String.Format(CodeAnalysisResources.Type0DoesNotHaveExpectedConstructor, type.ToDisplayString(SymbolDisplayFormat.
CSharpErrorMessageFormat
)))
SymbolDisplay\SymbolDisplay.vb (2)
39
''' <param name="format">The formatting options to apply. If null is passed, <see cref="SymbolDisplayFormat.
CSharpErrorMessageFormat
"/> will be used.</param>
90
''' <param name="format">The formatting options to apply. If null is passed, <see cref="SymbolDisplayFormat.
CSharpErrorMessageFormat
"/> will be used.</param>
Microsoft.DotNet.ApiSymbolExtensions (1)
SymbolExtensions.cs (1)
17
SymbolDisplayFormat format = SymbolDisplayFormat.
CSharpErrorMessageFormat
;