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)
893containerFormatter = CustomSymbolDisplayFormatter.DelegateSignature(oneVariantDifference.TypeParameter.ContainingSymbol) 895containerFormatter = CustomSymbolDisplayFormatter.ErrorNameWithKind(oneVariantDifference.TypeParameter.ContainingSymbol) 939containerFormatter = CustomSymbolDisplayFormatter.DelegateSignature(oneInvariantDifference.ContainingSymbol) 941containerFormatter = CustomSymbolDisplayFormatter.ErrorNameWithKind(oneInvariantDifference.ContainingSymbol) 1371CType(CustomSymbolDisplayFormatter.DelegateSignature(targetDelegateType), Object), 1423CType(CustomSymbolDisplayFormatter.DelegateSignature(targetDelegateType), Object),
Binding\Binder_Delegates.vb (4)
733CustomSymbolDisplayFormatter.DelegateSignature(delegateType)) 740CustomSymbolDisplayFormatter.DelegateSignature(delegateType), 757CustomSymbolDisplayFormatter.DelegateSignature(delegateType)) 764CustomSymbolDisplayFormatter.DelegateSignature(delegateType),
Binding\Binder_Expressions.vb (3)
1255ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NoGetProperty1, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 1268ReportDiagnostic(diagnostics, syntax, ERRID.ERR_NoAccessibleGet, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 3520CustomSymbolDisplayFormatter.WithContainingType(member)))
Binding\Binder_Invocation.vb (18)
1484ReportDiagnostic(diagnostics, diagnosticLocationOpt, ERRID.ERR_NoTypeArgumentCountOverloadCand1, CustomSymbolDisplayFormatter.ShortErrorName(bestSymbols(0))) 1502CustomSymbolDisplayFormatter.ShortErrorName(bestSymbols(0))) 1519ReportDiagnostic(diagnostics, diagnosticLocationOpt, ERRID.ERR_NoArgumentCountOverloadCandidates1, CustomSymbolDisplayFormatter.ShortErrorName(bestSymbols(0))) 1803diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate1, CustomSymbolDisplayFormatter.WithContainingType(bestSymbol))) 1811diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate2, CustomSymbolDisplayFormatter.WithContainingType(bestSymbol), notMostSpecificMessage)) 1820CustomSymbolDisplayFormatter.ShortErrorName(bestSymbols(0)), 1923ErrorFactory.ErrorInfo(errorNo, CustomSymbolDisplayFormatter.ShortErrorName(candidates(0).Candidate.UnderlyingSymbol), 1927ErrorFactory.ErrorInfo(errorNo, CustomSymbolDisplayFormatter.ShortErrorName(candidates(0).Candidate.UnderlyingSymbol), 1928CustomSymbolDisplayFormatter.DelegateSignature(delegateSymbol), 2348ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_OmittedArgument1, CustomSymbolDisplayFormatter.ShortErrorName(param)) 2351ERRID.ERR_OmittedArgument3, CustomSymbolDisplayFormatter.ShortErrorName(param), 2355ERRID.ERR_OmittedArgument2, CustomSymbolDisplayFormatter.ShortErrorName(param), 2429ReportDiagnostic(diagnostics, diagnosticLocation, ERRID.ERR_OmittedArgument1, CustomSymbolDisplayFormatter.ShortErrorName(param)) 2432ERRID.ERR_OmittedArgument3, CustomSymbolDisplayFormatter.ShortErrorName(param), 2436ERRID.ERR_OmittedArgument2, CustomSymbolDisplayFormatter.ShortErrorName(param), If(representCandidateInDiagnosticsOpt, candidateSymbol)) 2515CustomSymbolDisplayFormatter.ShortErrorName(param), targetType, copyBackType) 2617CustomSymbolDisplayFormatter.ShortErrorName(param), targetType) 2620CustomSymbolDisplayFormatter.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)
1919ReportDiagnostic(diagnostics, node, ERRID.ERR_NoSetProperty1, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 1922ReportDiagnostic(diagnostics, node, ERRID.ERR_AssignmentInitOnly, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol)) 1951ReportDiagnostic(diagnostics, node, ERRID.ERR_NoAccessibleSet, CustomSymbolDisplayFormatter.ShortErrorName(propertySymbol))
Compilation\VisualBasicCompilation.vb (1)
1631New 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)
269InitializeUseSiteInfo(New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))) 1016InitializeUseSiteInfo(New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))) 1072errorInfo = ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)) 1163errorInfo = ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me))
Symbols\Metadata\PE\PEPropertySymbol.vb (2)
75result._lazyCachedUseSiteInfo.Initialize(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedProperty1, CustomSymbolDisplayFormatter.QualifiedName(result))) 121_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)
227diagnostics.Add(ERRID.ERR_CircularEvaluation1, Locations(0), CustomSymbolDisplayFormatter.ShortErrorName(Me))
Symbols\Source\SourceMemberContainerTypeSymbol.vb (52)
721CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType))) 783CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.OriginalDefinition))) 796CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType))) 808CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType), 810CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.OriginalDefinition))) 869CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(type.OriginalDefinition), 870CustomSymbolDisplayFormatter.QualifiedName(outermostVarianceContainerOfType))) 874CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(type.OriginalDefinition), 875CustomSymbolDisplayFormatter.QualifiedName(outermostVarianceContainerOfType))) 879CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(type.OriginalDefinition), 880CustomSymbolDisplayFormatter.QualifiedName(outermostVarianceContainerOfType), 882CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.OriginalDefinition))) 888CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(type.OriginalDefinition), 889CustomSymbolDisplayFormatter.QualifiedName(outermostVarianceContainerOfType), 890CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType))) 894CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(type.OriginalDefinition), 895CustomSymbolDisplayFormatter.QualifiedName(outermostVarianceContainerOfType), 896CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType), 898CustomSymbolDisplayFormatter.QualifiedName(typeParameterInfo.ConstructedType.OriginalDefinition))) 2328defaultPropertyName, baseDefaultPropertyName, baseType.GetKindText(), CustomSymbolDisplayFormatter.ShortErrorName(baseType)) 3115DirectCast(CustomSymbolDisplayFormatter.ErrorNameWithKind(secondSymbol), Object), 3383CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(interfaceMember.ContainingType), 3384CustomSymbolDisplayFormatter.ShortErrorName(interfaceMember)) 3408CustomSymbolDisplayFormatter.ShortErrorName(Me), 3410CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(iface))) 3903CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3904CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1)) 3907CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3908CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1), 3909CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface1)) 3912CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface2), 3913CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3914CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1)) 3918CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface2), 3919CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3920CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1), 3921CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface1)) 3952CustomSymbolDisplayFormatter.QualifiedName(directInterface2), 3953CustomSymbolDisplayFormatter.QualifiedName(directInterface1), 3954CustomSymbolDisplayFormatter.ErrorNameWithKind(interface1.OriginalDefinition)) 3984CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3985CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1)) 3988CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3989CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1), 3990CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface1)) 3993CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 3994CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface2), 3995CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1)) 3999CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface2), 4000CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface2), 4001CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(interface1), 4002CustomSymbolDisplayFormatter.ShortNameWithTypeArgsAndContainingTypes(directInterface1))
Symbols\Symbol.vb (3)
937useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedField1, CustomSymbolDisplayFormatter.ShortErrorName(Me))) 940useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me))) 943useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedProperty1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))
Symbols\Symbol_Attributes.vb (14)
504diagnostics.Add(ERRID.ERR_InvalidMultipleAttributeUsage1, node.GetLocation(), CustomSymbolDisplayFormatter.ShortErrorName(attributeType)) 530diagnostics.Add(ERRID.ERR_InvalidAssemblyAttribute1, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType)) 533diagnostics.Add(ERRID.ERR_InvalidModuleAttribute1, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType)) 544CustomSymbolDisplayFormatter.ShortErrorName(attributeType), accessorName, CustomSymbolDisplayFormatter.ShortErrorName(method.AssociatedSymbol)) 551CustomSymbolDisplayFormatter.ShortErrorName(attributeType), CustomSymbolDisplayFormatter.ShortErrorName(Me).ToString()) 557ownerName = CustomSymbolDisplayFormatter.ShortErrorName(withEventsBackingField.AssociatedSymbol).ToString() 559ownerName = CustomSymbolDisplayFormatter.ShortErrorName(Me).ToString() 562diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType), ownerName) 565diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType), 569diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType), 570CustomSymbolDisplayFormatter.ShortErrorName(Me).ToString()) 582diagnostics.Add(ERRID.ERR_SecurityAttributeInvalidTarget, node.Name.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType))
Symbols\SymbolExtensions.vb (1)
108Return CustomSymbolDisplayFormatter.DefaultErrorFormat(target)
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
415CustomSymbolDisplayFormatter.QualifiedName(outermostVariantInterface),
Symbols\TypeParameterConstraint.vb (1)
63Return CustomSymbolDisplayFormatter.ErrorNameWithKind(TypeConstraint)