37 references to GetDisplayName
illink (37)
Linker.Dataflow\CompilerGeneratedState.cs (9)
191
AddWarning(new MessageOrigin(method), DiagnosticId.MethodsAreAssociatedWithUserMethod, method.
GetDisplayName
(), alreadyAssociatedMethod.
GetDisplayName
(), generatedType.GetDisplayName());
250
AddWarning(new MessageOrigin(method), DiagnosticId.MethodsAreAssociatedWithStateMachine, method.
GetDisplayName
(), alreadyAssociatedMethod.
GetDisplayName
(), stateMachineType.GetDisplayName());
306
AddWarning(new MessageOrigin(userDefinedMethod), DiagnosticId.MethodsAreAssociatedWithUserMethod, userDefinedMethod.
GetDisplayName
(), alreadyAssociatedMethod.
GetDisplayName
(), nestedFunction.
GetDisplayName
());
336
AddWarning(new MessageOrigin(method), DiagnosticId.MethodsAreAssociatedWithUserMethod, method.
GetDisplayName
(), alreadyAssociatedMethod.
GetDisplayName
(), generatedType.GetDisplayName());
Linker.Dataflow\DiagnosticUtilities.cs (2)
15
genericParameter.DeclaringMethod.
GetDisplayName
() :
19
(methodSignature is MethodReference method) ? method.
GetDisplayName
() : (methodSignature.ToString() ?? string.Empty);
Linker.Dataflow\FlowAnnotations.cs (3)
285
_context.LogWarning(method, DiagnosticId.DynamicallyAccessedMembersOnMethodReturnValueCanOnlyApplyToTypesOrStrings, method.
GetDisplayName
());
365
_context.LogWarning(setMethod, DiagnosticId.DynamicallyAccessedMembersConflictsBetweenPropertyAndAccessor, property.GetDisplayName(), setMethod.
GetDisplayName
());
409
_context.LogWarning(getMethod, DiagnosticId.DynamicallyAccessedMembersConflictsBetweenPropertyAndAccessor, property.GetDisplayName(), getMethod.
GetDisplayName
());
Linker.Dataflow\HandleCallAction.cs (1)
342
private partial string GetContainingSymbolDisplayName() => _callingMethodDefinition.
GetDisplayName
();
Linker.Dataflow\MethodProxy.cs (1)
40
public string GetDisplayName() => Method.
GetDisplayName
();
Linker.Steps\BodySubstitutionParser.cs (2)
77
LogWarning(methodNav, DiagnosticId.XmlInvalidValueForStub, method.
GetDisplayName
());
87
LogWarning(methodNav, DiagnosticId.XmlUnkownBodyModification, action, method.
GetDisplayName
());
Linker.Steps\CodeRewriterStep.cs (1)
112
throw new NotSupportedException($"Cannot replace body of method '{method.
GetDisplayName
()}' because it has an out parameter.");
Linker.Steps\DescriptorMarker.cs (1)
193
LogDuplicatePreserve(method.
GetDisplayName
(), nav);
Linker.Steps\LinkAttributesParser.cs (3)
96
sb.Append(ca.Constructor.
GetDisplayName
());
554
LogWarning(parameterNav, DiagnosticId.XmlMoreThanOneValueForParameterOfMethod, paramName, method.
GetDisplayName
());
581
LogWarning(returnNav, DiagnosticId.XmlMoreThanOneReturnElementForMethod, method.
GetDisplayName
());
Linker.Steps\MarkStep.cs (5)
520
Context.LogMessage($"Removing typecheck of '{type.FullName}' inside '{item.Body.Method.
GetDisplayName
()}' method.");
1763
ReportRequiresUnreferencedCode(method.
GetDisplayName
(), requiresUnreferencedCode!, new DiagnosticContext(origin, diagnosticsEnabled: true, Context));
1776
Context.LogWarning(origin, DiagnosticId.DynamicallyAccessedMembersMethodAccessedViaReflection, method.
GetDisplayName
());
3374
Context.LogWarning(methodOrigin, DiagnosticId.RequiresUnreferencedCodeOnStaticConstructor, method.
GetDisplayName
());
3376
Context.LogWarning(methodOrigin, DiagnosticId.RequiresUnreferencedCodeOnEntryPoint, method.
GetDisplayName
());
Linker.Steps\UnreachableBlocksOptimizer.cs (3)
65
_context.LogMessage($"Reduced '{reducer.InstructionsReplaced}' instructions in conditional branches for [{method.DeclaringType.Module.Assembly.Name}] method '{method.
GetDisplayName
()}'.");
77
throw new InternalErrorException($"Could not process the body of method '{method.
GetDisplayName
()}'.", e);
524
optimizer._context.LogMessage($"Cannot inline constant result of '{md.
GetDisplayName
()}' call due to presence of side effects");
Linker.Steps\ValidateVirtualMethodAnnotationsStep.cs (2)
58
method.
GetDisplayName
(),
59
baseMethod.
GetDisplayName
());
Linker\LinkContext.cs (1)
1049
LogError(string.Format(SharedStrings.FailedToResolveMethodElementMessage, methodReference.
GetDisplayName
()), (int)DiagnosticId.FailedToResolveMetadataElement);
Linker\MemberReferenceExtensions.cs (1)
20
return method.
GetDisplayName
();
Linker\MessageContainer.cs (1)
336
sb.Append(method.
GetDisplayName
());
Linker\MethodDefinitionExtensions.cs (1)
129
throw new InvalidOperationException($"Cannot get parameter #{(int)index} of method {method.
GetDisplayName
()} with {method.GetParametersCount()} parameters");