152 references to CustomSymbolDisplayFormatter
Microsoft.CodeAnalysis.VisualBasic (152)
Analysis\ForLoopVerification.vb (2)
82CustomSymbolDisplayFormatter.ShortErrorName(controlVariableSymbol)) 116CustomSymbolDisplayFormatter.ShortErrorName(ForLoopVerification.ReferencedSymbol(controlVariable)))
Binding\Binder_Conversions.vb (6)
901containerFormatter = CustomSymbolDisplayFormatter.DelegateSignature(oneVariantDifference.TypeParameter.ContainingSymbol) 903containerFormatter = CustomSymbolDisplayFormatter.ErrorNameWithKind(oneVariantDifference.TypeParameter.ContainingSymbol) 947containerFormatter = CustomSymbolDisplayFormatter.DelegateSignature(oneInvariantDifference.ContainingSymbol) 949containerFormatter = CustomSymbolDisplayFormatter.ErrorNameWithKind(oneInvariantDifference.ContainingSymbol) 1384CType(CustomSymbolDisplayFormatter.DelegateSignature(targetDelegateType), Object), 1436CType(CustomSymbolDisplayFormatter.DelegateSignature(targetDelegateType), Object),
Binding\Binder_Delegates.vb (4)
730CustomSymbolDisplayFormatter.DelegateSignature(delegateType)) 737CustomSymbolDisplayFormatter.DelegateSignature(delegateType), 754CustomSymbolDisplayFormatter.DelegateSignature(delegateType)) 761CustomSymbolDisplayFormatter.DelegateSignature(delegateType),
Binding\Binder_Expressions.vb (3)
1276ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NoGetProperty1, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 1289ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NoAccessibleGet, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 3547CustomSymbolDisplayFormatter.WithContainingType(member)))
Binding\Binder_Invocation.vb (18)
1482ReportDiagnostic(diagnostics, diagnosticLocationOpt, ERRID.ERR_NoTypeArgumentCountOverloadCand1, CustomSymbolDisplayFormatter.ShortErrorName(bestSymbols(0))) 1500CustomSymbolDisplayFormatter.ShortErrorName(bestSymbols(0))) 1517ReportDiagnostic(diagnostics, diagnosticLocationOpt, ERRID.ERR_NoArgumentCountOverloadCandidates1, CustomSymbolDisplayFormatter.ShortErrorName(bestSymbols(0))) 1801diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate1, CustomSymbolDisplayFormatter.WithContainingType(bestSymbol))) 1809diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate2, CustomSymbolDisplayFormatter.WithContainingType(bestSymbol), notMostSpecificMessage)) 1818CustomSymbolDisplayFormatter.ShortErrorName(bestSymbols(0)), 1921ErrorFactory.ErrorInfo(errorNo, CustomSymbolDisplayFormatter.ShortErrorName(candidates(0).Candidate.UnderlyingSymbol), 1925ErrorFactory.ErrorInfo(errorNo, CustomSymbolDisplayFormatter.ShortErrorName(candidates(0).Candidate.UnderlyingSymbol), 1926CustomSymbolDisplayFormatter.DelegateSignature(delegateSymbol), 2342ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_OmittedArgument1, CustomSymbolDisplayFormatter.ShortErrorName(param)) 2345ERRID.ERR_OmittedArgument3, CustomSymbolDisplayFormatter.ShortErrorName(param), 2349ERRID.ERR_OmittedArgument2, CustomSymbolDisplayFormatter.ShortErrorName(param), 2423ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_OmittedArgument1, CustomSymbolDisplayFormatter.ShortErrorName(param)) 2426ERRID.ERR_OmittedArgument3, CustomSymbolDisplayFormatter.ShortErrorName(param), 2430ERRID.ERR_OmittedArgument2, CustomSymbolDisplayFormatter.ShortErrorName(param), If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2509CustomSymbolDisplayFormatter.ShortErrorName(param), targetType, copyBackType) 2611CustomSymbolDisplayFormatter.ShortErrorName(param), targetType) 2614CustomSymbolDisplayFormatter.ShortErrorName(param), argument.Type, targetType)
Binding\Binder_Lookup.vb (3)
261CustomSymbolDisplayFormatter.QualifiedName(sym), 1570CustomSymbolDisplayFormatter.DefaultErrorFormat(symbols(i).ContainingType), 1571CustomSymbolDisplayFormatter.DefaultErrorFormat(symbols(j).ContainingType))
Binding\Binder_Statements.vb (3)
1948ReportDiagnostic(diagnostics, node, ERRID.ERR_NoSetProperty1, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 1951ReportDiagnostic(diagnostics, node, ERRID.ERR_AssignmentInitOnly, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 1980ReportDiagnostic(diagnostics, node, ERRID.ERR_NoAccessibleSet, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol))
Compilation\VisualBasicCompilation.vb (1)
1636New FormattedSymbolList(viableEntryPoints.ToArray(), CustomSymbolDisplayFormatter.ErrorMessageFormatNoModifiersNoReturnType))
Emit\PEModuleBuilder.vb (10)
458diagnostics.Add(ERRID.ERR_ForwardedTypeConflictsWithDeclaration, NoLocation.Singleton, CustomSymbolDisplayFormatter.DefaultErrorFormat(type)) 474CustomSymbolDisplayFormatter.DefaultErrorFormat(type), 475CustomSymbolDisplayFormatter.DefaultErrorFormat(type.ContainingModule), 476CustomSymbolDisplayFormatter.DefaultErrorFormat(contender), 477CustomSymbolDisplayFormatter.DefaultErrorFormat(contender.ContainingModule)) 481CustomSymbolDisplayFormatter.DefaultErrorFormat(type), 483CustomSymbolDisplayFormatter.DefaultErrorFormat(contender), 484CustomSymbolDisplayFormatter.DefaultErrorFormat(contender.ContainingModule)) 488CustomSymbolDisplayFormatter.DefaultErrorFormat(type), 490CustomSymbolDisplayFormatter.DefaultErrorFormat(contender),
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
404Binder.ReportDiagnostic(bag, Body.Syntax, ERRID.ERR_NoGetProperty1, CustomSymbolDisplayFormatter.QualifiedName(symbol))
Symbols\EventSymbol.vb (1)
221useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))
Symbols\Metadata\PE\PEMethodSymbol.vb (4)
299InitializeUseSiteInfo(New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))) 1072InitializeUseSiteInfo(New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))) 1138errorInfo = ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)) 1230errorInfo = ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me))
Symbols\Metadata\PE\PEPropertySymbol.vb (2)
79result._lazyCachedUseSiteInfo.Initialize(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedProperty1, CustomSymbolDisplayFormatter.QualifiedName(result))) 125_lazyCachedUseSiteInfo.Initialize(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedProperty1, CustomSymbolDisplayFormatter.QualifiedName(Me)))
Symbols\MissingMetadataTypeSymbol.vb (1)
55Dim arg = If(Me.SpecialType <> SpecialType.None, DirectCast(CustomSymbolDisplayFormatter.DefaultErrorFormat(Me), Object), Me)
Symbols\NoPiaAmbiguousCanonicalTypeSymbol.vb (1)
72Return ErrorFactory.ErrorInfo(ERRID.ERR_AbsentReferenceToPIA1, CustomSymbolDisplayFormatter.QualifiedName(_firstCandidate))
Symbols\Source\ImplementsHelper.vb (9)
146CustomSymbolDisplayFormatter.ShortErrorName(implementingSym), 147CustomSymbolDisplayFormatter.QualifiedName(If(firstIsWinRT, implementedMembers(0), implementedMember)), 148CustomSymbolDisplayFormatter.QualifiedName(If(firstIsWinRT, implementedMember, implementedMembers(0)))) 292CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(first.ContainingType), 294CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(first.ContainingType), 390CustomSymbolDisplayFormatter.ShortErrorName(implementingSym), implementedMethodName, 392CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(interfaceType)) 514CustomSymbolDisplayFormatter.ShortErrorName(implementingSym), 517CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(interfaceType),
Symbols\Source\OverrideHidingHelper.vb (10)
251CustomSymbolDisplayFormatter.QualifiedName(member.ContainingType), 252CustomSymbolDisplayFormatter.ShortErrorName(container)), 265CustomSymbolDisplayFormatter.ShortErrorName(container), 413CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 423CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 430CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 446CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 453CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 478CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 865CustomSymbolDisplayFormatter.ShortErrorName(overriddenMembers(0).ContainingType),
Symbols\Source\SourceFieldSymbol.vb (1)
246diagnostics.Add(ERRID.ERR_CircularEvaluation1, Locations(0), CustomSymbolDisplayFormatter.ShortErrorName(Me))
Symbols\Source\SourceMemberContainerTypeSymbol.vb (52)
712CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType))) 774CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.OriginalDefinition))) 787CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType))) 799CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType), 801CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.OriginalDefinition))) 860CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(type.OriginalDefinition), 861CustomSymbolDisplayFormatter.QualifiedName(outermostVarianceContainerOfType))) 865CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(type.OriginalDefinition), 866CustomSymbolDisplayFormatter.QualifiedName(outermostVarianceContainerOfType))) 870CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(type.OriginalDefinition), 871CustomSymbolDisplayFormatter.QualifiedName(outermostVarianceContainerOfType), 873CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.OriginalDefinition))) 879CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(type.OriginalDefinition), 880CustomSymbolDisplayFormatter.QualifiedName(outermostVarianceContainerOfType), 881CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType))) 885CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(type.OriginalDefinition), 886CustomSymbolDisplayFormatter.QualifiedName(outermostVarianceContainerOfType), 887CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType), 889CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.OriginalDefinition))) 2338defaultPropertyName, baseDefaultPropertyName, baseType.GetKindText(), CustomSymbolDisplayFormatter.ShortErrorName(baseType)) 3125DirectCast(CustomSymbolDisplayFormatter.ErrorNameWithKind(secondSymbol), Object), 3393CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(interfaceMember.ContainingType), 3394CustomSymbolDisplayFormatter.ShortErrorName(interfaceMember)) 3418CustomSymbolDisplayFormatter.ShortErrorName(Me), 3420CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(iface))) 3913CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3914CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1)) 3917CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3918CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1), 3919CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface1)) 3922CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface2), 3923CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3924CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1)) 3928CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface2), 3929CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3930CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1), 3931CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface1)) 3962CustomSymbolDisplayFormatter.QualifiedName(directInterface2), 3963CustomSymbolDisplayFormatter.QualifiedName(directInterface1), 3964CustomSymbolDisplayFormatter.ErrorNameWithKind(interface1.OriginalDefinition)) 3994CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3995CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1)) 3998CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3999CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1), 4000CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface1)) 4003CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 4004CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface2), 4005CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1)) 4009CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 4010CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface2), 4011CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1), 4012CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface1))
Symbols\Symbol.vb (3)
998useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedField1, CustomSymbolDisplayFormatter.ShortErrorName(Me))) 1001useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me))) 1004useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedProperty1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))
Symbols\Symbol_Attributes.vb (14)
513diagnostics.Add(ERRID.ERR_InvalidMultipleAttributeUsage1, node.GetLocation(), CustomSymbolDisplayFormatter.ShortErrorName(attributeType)) 539diagnostics.Add(ERRID.ERR_InvalidAssemblyAttribute1, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType)) 542diagnostics.Add(ERRID.ERR_InvalidModuleAttribute1, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType)) 553CustomSymbolDisplayFormatter.ShortErrorName(attributeType), accessorName, CustomSymbolDisplayFormatter.ShortErrorName(method.AssociatedSymbol)) 560CustomSymbolDisplayFormatter.ShortErrorName(attributeType), CustomSymbolDisplayFormatter.ShortErrorName(Me).ToString()) 566ownerName = CustomSymbolDisplayFormatter.ShortErrorName(withEventsBackingField.AssociatedSymbol).ToString() 568ownerName = CustomSymbolDisplayFormatter.ShortErrorName(Me).ToString() 571diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType), ownerName) 574diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType), 578diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType), 579CustomSymbolDisplayFormatter.ShortErrorName(Me).ToString()) 591diagnostics.Add(ERRID.ERR_SecurityAttributeInvalidTarget, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType))
Symbols\SymbolExtensions.vb (1)
108Return CustomSymbolDisplayFormatter.DefaultErrorFormat(target)
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
420CustomSymbolDisplayFormatter.QualifiedName(outermostVariantInterface),
Symbols\TypeParameterConstraint.vb (1)
63Return CustomSymbolDisplayFormatter.ErrorNameWithKind(TypeConstraint)