Implemented interface member:
method
GetDisplayName
ILLink.Shared.TypeSystemProxy.IMemberProxy.GetDisplayName()
26 references to GetDisplayName
ILLink.RoslynAnalyzer (26)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (20)
56
throw new InvalidOperationException($"Internal trimming error: processing of call from {GetContainingSymbolDisplayName()} to {calledMethod.
GetDisplayName
()} returned value which is not correctly annotated with the expected dynamic member access kinds.");
69
throw new InvalidOperationException($"Internal trimming error: processing of call from {GetContainingSymbolDisplayName()} to {calledMethod.
GetDisplayName
()} returned value which is not correctly annotated with the expected dynamic member access kinds.");
402
_diagnosticContext.AddDiagnostic(DiagnosticId.UnrecognizedTypeInRuntimeHelpersRunClassConstructor, calledMethod.
GetDisplayName
());
443
_ => throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is of unexpected member type."),
457
_ => throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is of unexpected member type."),
501
_ => throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is of unexpected member type."),
569
throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is an unexpected intrinsic.");
796
_ => throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is of unexpected member type."),
826
throw new ArgumentException($"Error processing reflection call '{calledMethod.
GetDisplayName
()}' inside {GetContainingSymbolDisplayName()}. Unexpected member kind.");
1004
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
1017
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
1077
_diagnosticContext.AddDiagnostic(DiagnosticId.CaseInsensitiveTypeGetTypeCallIsNotSupported, calledMethod.
GetDisplayName
());
1109
_diagnosticContext.AddDiagnostic(DiagnosticId.UnrecognizedTypeNameInTypeGetType, calledMethod.
GetDisplayName
());
1189
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericType, calledMethod.
GetDisplayName
());
1201
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericType, calledMethod.
GetDisplayName
());
1388
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
1543
_diagnosticContext.AddDiagnostic(DiagnosticId.ParametersOfAssemblyCreateInstanceCannotBeAnalyzed, calledMethod.
GetDisplayName
());
1744
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, reflectionMethod.
GetDisplayName
());
1807
_diagnosticContext.AddDiagnostic(DiagnosticId.UnrecognizedParameterInMethodCreateInstance, new ParameterProxy(calledMethod, (ParameterIndex)1 + offset).GetDisplayName(), calledMethod.
GetDisplayName
());
1813
_diagnosticContext.AddDiagnostic(DiagnosticId.UnrecognizedParameterInMethodCreateInstance, new ParameterProxy(calledMethod, (ParameterIndex)0 + offset).GetDisplayName(), calledMethod.
GetDisplayName
());
src\runtime\src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterProxy.cs (3)
17
throw new InvalidOperationException($"Parameter of index {(int)index} does not exist on method {method.
GetDisplayName
()} with {method.GetParametersCount()}");
55
new string[] { Method.
GetDisplayName
() }
57
: new string[] { GetDisplayName(), Method.
GetDisplayName
() };
TrimAnalysis\FlowAnnotations.cs (2)
260
throw new InvalidOperationException($"Cannot get 'this' parameter of method {method.
GetDisplayName
()} with no 'this' parameter.");
267
throw new InvalidOperationException($"Cannot get 'this' parameter of method {method.
GetDisplayName
()} with no 'this' parameter.");
TrimAnalysis\HandleCallAction.cs (1)
323
_diagnosticContext.AddDiagnostic(DiagnosticId.RequiresUnreferencedCode, calledMethod.
GetDisplayName
(), message, url);