Implemented interface member:
method
GetDisplayName
ILLink.Shared.TypeSystemProxy.IMemberProxy.GetDisplayName()
25 references to GetDisplayName
ILLink.RoslynAnalyzer (25)
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.");
380
_diagnosticContext.AddDiagnostic(DiagnosticId.UnrecognizedTypeInRuntimeHelpersRunClassConstructor, calledMethod.
GetDisplayName
());
421
_ => throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is of unexpected member type."),
435
_ => throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is of unexpected member type."),
479
_ => throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is of unexpected member type."),
547
throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is an unexpected intrinsic.");
773
_ => throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is of unexpected member type."),
803
throw new ArgumentException($"Error processing reflection call '{calledMethod.
GetDisplayName
()}' inside {GetContainingSymbolDisplayName()}. Unexpected member kind.");
981
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
994
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
1053
_diagnosticContext.AddDiagnostic(DiagnosticId.CaseInsensitiveTypeGetTypeCallIsNotSupported, calledMethod.
GetDisplayName
());
1085
_diagnosticContext.AddDiagnostic(DiagnosticId.UnrecognizedTypeNameInTypeGetType, calledMethod.
GetDisplayName
());
1165
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericType, calledMethod.
GetDisplayName
());
1177
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericType, calledMethod.
GetDisplayName
());
1364
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
1519
_diagnosticContext.AddDiagnostic(DiagnosticId.ParametersOfAssemblyCreateInstanceCannotBeAnalyzed, calledMethod.
GetDisplayName
());
1657
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, reflectionMethod.
GetDisplayName
());
1720
_diagnosticContext.AddDiagnostic(DiagnosticId.UnrecognizedParameterInMethodCreateInstance, new ParameterProxy(calledMethod, (ParameterIndex)1 + offset).GetDisplayName(), calledMethod.
GetDisplayName
());
1726
_diagnosticContext.AddDiagnostic(DiagnosticId.UnrecognizedParameterInMethodCreateInstance, new ParameterProxy(calledMethod, (ParameterIndex)0 + offset).GetDisplayName(), calledMethod.
GetDisplayName
());
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)
249
throw new InvalidOperationException($"Cannot get 'this' parameter of method {method.
GetDisplayName
()} with no 'this' parameter.");
256
throw new InvalidOperationException($"Cannot get 'this' parameter of method {method.
GetDisplayName
()} with no 'this' parameter.");