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.");
774
_ => throw new ArgumentException($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName()}' is of unexpected member type."),
804
throw new ArgumentException($"Error processing reflection call '{calledMethod.
GetDisplayName
()}' inside {GetContainingSymbolDisplayName()}. Unexpected member kind.");
982
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
995
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
1054
_diagnosticContext.AddDiagnostic(DiagnosticId.CaseInsensitiveTypeGetTypeCallIsNotSupported, calledMethod.
GetDisplayName
());
1086
_diagnosticContext.AddDiagnostic(DiagnosticId.UnrecognizedTypeNameInTypeGetType, calledMethod.
GetDisplayName
());
1166
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericType, calledMethod.
GetDisplayName
());
1178
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericType, calledMethod.
GetDisplayName
());
1365
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
1520
_diagnosticContext.AddDiagnostic(DiagnosticId.ParametersOfAssemblyCreateInstanceCannotBeAnalyzed, calledMethod.
GetDisplayName
());
1658
_diagnosticContext.AddDiagnostic(DiagnosticId.MakeGenericMethod, reflectionMethod.
GetDisplayName
());
1721
_diagnosticContext.AddDiagnostic(DiagnosticId.UnrecognizedParameterInMethodCreateInstance, new ParameterProxy(calledMethod, (ParameterIndex)1 + offset).GetDisplayName(), calledMethod.
GetDisplayName
());
1727
_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.");