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)
53
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.");
60
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.");
299
_diagnosticContext.AddDiagnostic (DiagnosticId.UnrecognizedTypeInRuntimeHelpersRunClassConstructor, calledMethod.
GetDisplayName
());
337
_ => throw new ArgumentException ($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName ()}' is of unexpected member type."),
348
_ => throw new ArgumentException ($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName ()}' is of unexpected member type."),
389
_ => throw new ArgumentException ($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName ()}' is of unexpected member type."),
442
throw new ArgumentException ($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName ()}' is an unexpected intrinsic.");
613
_ => throw new ArgumentException ($"Reflection call '{calledMethod.
GetDisplayName
()}' inside '{GetContainingSymbolDisplayName ()}' is of unexpected member type."),
638
throw new ArgumentException ($"Error processing reflection call '{calledMethod.
GetDisplayName
()}' inside {GetContainingSymbolDisplayName ()}. Unexpected member kind.");
773
_diagnosticContext.AddDiagnostic (DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
783
_diagnosticContext.AddDiagnostic (DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
836
_diagnosticContext.AddDiagnostic (DiagnosticId.CaseInsensitiveTypeGetTypeCallIsNotSupported, calledMethod.
GetDisplayName
());
857
_diagnosticContext.AddDiagnostic (DiagnosticId.UnrecognizedTypeNameInTypeGetType, calledMethod.
GetDisplayName
());
924
_diagnosticContext.AddDiagnostic (DiagnosticId.MakeGenericType, calledMethod.
GetDisplayName
());
932
_diagnosticContext.AddDiagnostic (DiagnosticId.MakeGenericType, calledMethod.
GetDisplayName
());
1090
_diagnosticContext.AddDiagnostic (DiagnosticId.MakeGenericMethod, calledMethod.
GetDisplayName
());
1229
_diagnosticContext.AddDiagnostic (DiagnosticId.ParametersOfAssemblyCreateInstanceCannotBeAnalyzed, calledMethod.
GetDisplayName
());
1351
_diagnosticContext.AddDiagnostic (DiagnosticId.MakeGenericMethod, reflectionMethod.
GetDisplayName
());
1403
_diagnosticContext.AddDiagnostic (DiagnosticId.UnrecognizedParameterInMethodCreateInstance, new ParameterProxy (calledMethod, (ParameterIndex) 1 + offset).GetDisplayName (), calledMethod.
GetDisplayName
());
1407
_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 ()}");
52
new string[] { Method.
GetDisplayName
() }
54
: new string[] { GetDisplayName (), Method.
GetDisplayName
() };
TrimAnalysis\FlowAnnotations.cs (2)
229
throw new InvalidOperationException ($"Cannot get 'this' parameter of method {method.
GetDisplayName
()} with no 'this' parameter.");
236
throw new InvalidOperationException ($"Cannot get 'this' parameter of method {method.
GetDisplayName
()} with no 'this' parameter.");