49 instantiations of FormattedSymbol
Microsoft.CodeAnalysis.CSharp (49)
Binder\Binder.ValueChecks.cs (1)
3683Error(diagnostics, ReadOnlyErrors[index], node, symbolKind, new FormattedSymbol(symbol, SymbolDisplayFormat.ShortFormat));
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
79var info = new CSDiagnosticInfo(ErrorCode.ERR_UnsupportedTransparentIdentifierAccess, name, new FormattedSymbol(receiver.ExpressionSymbol ?? receiverType, SymbolDisplayFormat.CSharpErrorMessageNoParameterNamesFormat));
Binder\Binder_Conversions.cs (1)
2983new FormattedSymbol(parameter, SymbolDisplayFormat.ShortFormat),
Binder\Binder_Crefs.cs (2)
912new FormattedSymbol(symbol, SymbolDisplayFormat.CSharpErrorMessageFormat), 913new FormattedSymbol(symbols[otherIndex], SymbolDisplayFormat.CSharpErrorMessageFormat));
Binder\Binder_Symbols.cs (4)
2156new FormattedSymbol(first, SymbolDisplayFormat.CSharpErrorMessageFormat), 2157new FormattedSymbol(second, SymbolDisplayFormat.CSharpErrorMessageFormat) }); 2302new FormattedSymbol(first, SymbolDisplayFormat.CSharpErrorMessageFormat), 2303new FormattedSymbol(second, SymbolDisplayFormat.CSharpErrorMessageFormat) });
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (3)
1290new FormattedSymbol(unwrapIfParamsCollection(badArg, parameter, isLastParameter), SymbolDisplayFormat.CSharpErrorMessageNoParameterNamesFormat)); 1358new FormattedSymbol(parameter, SymbolDisplayFormat.CSharpErrorMessageNoParameterNamesFormat)); 1404new FormattedSymbol(unwrapIfParamsCollection(badArg, parameter, isLastParameter), SymbolDisplayFormat.CSharpErrorMessageNoParameterNamesFormat));
FlowAnalysis\NullableWalker.cs (3)
2396new FormattedSymbol(parameterOpt, SymbolDisplayFormat.ShortFormat); 2404new FormattedSymbol(containingSymbol, SymbolDisplayFormat.MinimallyQualifiedFormat); 9678new FormattedSymbol(sourceInvokeMethod, SymbolDisplayFormat.MinimallyQualifiedFormat),
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
216Error(diagnostic, node, new FormattedSymbol(symbol, SymbolDisplayFormat.ShortFormat));
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
235diagnostics.Add(ErrorCode.WRN_NullabilityMismatchInParameterTypeOnInterceptor, attributeLocation, new FormattedSymbol(implementingParameter, SymbolDisplayFormat.ShortFormat), method);
Symbols\ObsoleteAttributeHelpers.cs (3)
184new FormattedSymbol(symbol, SymbolDisplayFormat.CSharpErrorMessageFormat)); 195new FormattedSymbol(symbol, SymbolDisplayFormat.CSharpErrorMessageFormat)); 200new FormattedSymbol(symbol, SymbolDisplayFormat.CSharpErrorMessageFormat), data.Message);
Symbols\Source\SourceConstructorSymbol.cs (3)
305new FormattedSymbol(this, SymbolDisplayFormat.MinimallyQualifiedFormat), 306new FormattedSymbol(implementation, SymbolDisplayFormat.MinimallyQualifiedFormat)); 334diagnostics.Add(ErrorCode.ERR_ScopedMismatchInParameterOfPartial, implementation.GetFirstLocation(), new FormattedSymbol(implementation.Parameters[i], SymbolDisplayFormat.ShortFormat));
Symbols\Source\SourceEventSymbol.cs (2)
919new FormattedSymbol(this, SymbolDisplayFormat.MinimallyQualifiedFormat), 920new FormattedSymbol(implementation, SymbolDisplayFormat.MinimallyQualifiedFormat));
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5327new FormattedSymbol(existingMember, SymbolDisplayFormat.CSharpErrorMessageFormat.WithMemberOptions(SymbolDisplayMemberOptions.IncludeContainingType)),
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (3)
1193new FormattedSymbol(overridingParameter, SymbolDisplayFormat.ShortFormat)); 1264new FormattedSymbol(overridingParameter, SymbolDisplayFormat.ShortFormat)); 1289diagnostics.Add(ErrorCode.WRN_DoesNotReturnMismatch, overrideMethod.GetFirstLocation(), new FormattedSymbol(overrideMethod, SymbolDisplayFormat.MinimallyQualifiedFormat));
Symbols\Source\SourceOrdinaryMethodSymbol.cs (4)
554diagnostics.Add(ErrorCode.ERR_ScopedMismatchInParameterOfPartial, implementingMethod.GetFirstLocation(), new FormattedSymbol(implementingParameter, SymbolDisplayFormat.ShortFormat)); 575diagnostics.Add(ErrorCode.WRN_NullabilityMismatchInParameterTypeOnPartial, implementingMethod.GetFirstLocation(), new FormattedSymbol(implementingParameter, SymbolDisplayFormat.ShortFormat)); 586new FormattedSymbol(definition, SymbolDisplayFormat.MinimallyQualifiedFormat), 587new FormattedSymbol(implementation, SymbolDisplayFormat.MinimallyQualifiedFormat));
Symbols\Source\SourcePropertySymbol.cs (3)
755new FormattedSymbol(this, SymbolDisplayFormat.MinimallyQualifiedFormat), 756new FormattedSymbol(implementation, SymbolDisplayFormat.MinimallyQualifiedFormat)); 807diagnostics.Add(ErrorCode.ERR_ScopedMismatchInParameterOfPartial, implementation.GetFirstLocation(), new FormattedSymbol(implementation.Parameters[i], SymbolDisplayFormat.ShortFormat));
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
390diagnostics.Add(ErrorCode.ERR_InstanceMemberWithUnnamedExtensionsParameter, _location, new FormattedSymbol(this, SymbolDisplayFormat.ShortFormat));
Symbols\TypeSymbol.cs (12)
1790implementingEvent.GetFirstLocation(), new FormattedSymbol(implementedEvent, SymbolDisplayFormat.MinimallyQualifiedFormat)); 1796new FormattedSymbol(implementingEvent, SymbolDisplayFormat.MinimallyQualifiedFormat), 1797new FormattedSymbol(implementedEvent, SymbolDisplayFormat.MinimallyQualifiedFormat)); 1829implementingMethod.GetFirstLocation(), new FormattedSymbol(implementedMethod.ConstructedFrom, SymbolDisplayFormat.MinimallyQualifiedFormat)); 1837new FormattedSymbol(implementingMethod, SymbolDisplayFormat.MinimallyQualifiedFormat), 1838new FormattedSymbol(implementedMethod.ConstructedFrom, SymbolDisplayFormat.MinimallyQualifiedFormat)); 1851new FormattedSymbol(implementingParameter, SymbolDisplayFormat.ShortFormat), 1852new FormattedSymbol(implementedMethod.ConstructedFrom, SymbolDisplayFormat.MinimallyQualifiedFormat)); 1860new FormattedSymbol(implementingParameter, SymbolDisplayFormat.ShortFormat), 1861new FormattedSymbol(implementingMethod, SymbolDisplayFormat.MinimallyQualifiedFormat), 1862new FormattedSymbol(implementedMethod.ConstructedFrom, SymbolDisplayFormat.MinimallyQualifiedFormat)); 1889new FormattedSymbol(implementingParameter, SymbolDisplayFormat.ShortFormat));
2 references to FormattedSymbol
Microsoft.CodeAnalysis (2)
SymbolDisplay\FormattedSymbol.cs (2)
40var other = obj as FormattedSymbol;