43 references to GetDisplayName
ILLink.CodeFixProvider (1)
RequiresHelpers.cs (1)
15 var symbolDisplayName = targetSymbol.GetDisplayName ();
ILLink.RoslynAnalyzer (42)
COMAnalyzer.cs (1)
55 operationContext.Operation.Syntax.GetLocation (), targetMethod.GetDisplayName ()));
DynamicallyAccessedMembersAnalyzer.cs (17)
147 context.ReportDiagnostic (Diagnostic.Create (DiagnosticDescriptors.GetDiagnosticDescriptor (DiagnosticId.DynamicallyAccessedMembersOnFieldCanOnlyApplyToTypesOrStrings), location, member.GetDisplayName ())); 150 context.ReportDiagnostic (Diagnostic.Create (DiagnosticDescriptors.GetDiagnosticDescriptor (DiagnosticId.DynamicallyAccessedMembersOnMethodReturnValueCanOnlyApplyToTypesOrStrings), location, member.GetDisplayName ())); 155 context.ReportDiagnostic (Diagnostic.Create (DiagnosticDescriptors.GetDiagnosticDescriptor (DiagnosticId.DynamicallyAccessedMembersOnMethodParameterCanOnlyApplyToTypesOrStrings), location, parameter.GetDisplayName (), member.GetDisplayName ())); 158 context.ReportDiagnostic (Diagnostic.Create (DiagnosticDescriptors.GetDiagnosticDescriptor (DiagnosticId.DynamicallyAccessedMembersOnPropertyCanOnlyApplyToTypesOrStrings), location, member.GetDisplayName ())); 189 GetPrimaryLocation (overrideMethod.Locations), sourceLocation, DAMArgs?.ToImmutableDictionary (), overrideMethod.GetDisplayName (), baseMethod.GetDisplayName ())); 211 overrideParam.GetDisplayName (), overrideMethod.GetDisplayName (), baseParam.GetDisplayName (), baseMethod.GetDisplayName ())); 234 overrideMethod.TypeParameters[i].GetDisplayName (), overrideMethod.GetDisplayName (), 235 baseMethod.TypeParameters[i].GetDisplayName (), baseMethod.GetDisplayName ())); 243 overrideMethod.GetDisplayName (), baseMethod.GetDisplayName ())); 271 associatedSymbol.GetDisplayName (), 272 methodSymbol.GetDisplayName ()
IMethodSymbolExtensions.cs (1)
41 throw new InvalidOperationException ($"Cannot get parameter at index {(int) index} of method {method.GetDisplayName ()} with {method.GetParametersCount ()} parameters.");
ISymbolExtensions.cs (1)
79 featureSet.Add (featureType.GetDisplayName ());
ITypeSymbolExtensions.cs (2)
57 return symbol.ContainingNamespace?.GetDisplayName () == @namespace && symbol.MetadataName == name; 72 _ => WellKnownTypeExtensions.GetWellKnownType (symbol.ContainingNamespace?.GetDisplayName () ?? "", symbol.MetadataName)
RequiresAnalyzerBase.cs (5)
99 containingSymbol.GetDisplayName (), 220 member.GetDisplayName (), 230 ctor.GetDisplayName ())); 235 string message = MessageFormat.FormatRequiresAttributeMismatch (member.HasAttribute (RequiresAttributeName), isInterface, RequiresAttributeName, member.GetDisplayName (), baseMember.GetDisplayName ());
RequiresAssemblyFilesAnalyzer.cs (2)
109 diagnostic = Diagnostic.Create (s_getFilesRule, operation.Syntax.GetLocation (), member.GetDisplayName ()); 114 diagnostic = Diagnostic.Create (s_locationRule, operation.Syntax.GetLocation (), member.GetDisplayName ());
RequiresUnreferencedCodeAnalyzer.cs (1)
38 baseType.GetDisplayName (),
TrimAnalysis\FeatureCheckReturnValuePattern.cs (1)
61 OwningSymbol.GetDisplayName (),
TrimAnalysis\FieldValue.cs (1)
25 => new string[] { FieldSymbol.GetDisplayName () };
TrimAnalysis\GenericParameterValue.cs (1)
23 => new string[] { GenericParameter.TypeParameterSymbol.Name, GenericParameter.TypeParameterSymbol.ContainingSymbol.GetDisplayName () };
TrimAnalysis\HandleCallAction.cs (1)
229 private partial string GetContainingSymbolDisplayName () => _operation.FindContainingSymbol (_owningSymbol).GetDisplayName ();
TrimAnalysis\MethodProxy.cs (1)
18 public string GetDisplayName () => Method.GetDisplayName ();
TrimAnalysis\MethodReturnValue.cs (1)
33 => new string[] { MethodSymbol.GetDisplayName () };
TrimAnalysis\ParameterProxy.cs (1)
55 return ParameterSymbol!.GetDisplayName ();
TrimAnalysis\ReflectionAccessAnalyzer.cs (4)
80 diagnosticContext.AddDiagnostic (DiagnosticId.RequiresUnreferencedCode, member.GetDisplayName (), message, url); 96 yield return diagnosticContext.CreateDiagnostic (DiagnosticId.DynamicallyAccessedMembersMethodAccessedViaReflection, methodSymbol.GetDisplayName ()); 100 yield return diagnosticContext.CreateDiagnostic (DiagnosticId.DynamicallyAccessedMembersMethodAccessedViaReflection, methodSymbol.GetDisplayName ()); 131 diagnosticContext.AddDiagnostic (DiagnosticId.DynamicallyAccessedMembersFieldAccessedViaReflection, fieldSymbol.GetDisplayName ());
TrimAnalysis\TypeProxy.cs (1)
38 public string GetDisplayName () => Type.GetDisplayName ();