36 references to GetDisplayName
illink (36)
Linker.Dataflow\CompilerGeneratedState.cs (9)
166
_context.LogWarning (new MessageOrigin (method), DiagnosticId.MethodsAreAssociatedWithUserMethod, method.
GetDisplayName
(), alreadyAssociatedMethod.
GetDisplayName
(), generatedType.GetDisplayName ());
217
_context.LogWarning (new MessageOrigin (method), DiagnosticId.MethodsAreAssociatedWithStateMachine, method.
GetDisplayName
(), alreadyAssociatedMethod.
GetDisplayName
(), stateMachineType.GetDisplayName ());
268
_context.LogWarning (new MessageOrigin (userDefinedMethod), DiagnosticId.MethodsAreAssociatedWithUserMethod, userDefinedMethod.
GetDisplayName
(), alreadyAssociatedMethod.
GetDisplayName
(), nestedFunction.
GetDisplayName
());
295
_context.LogWarning (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)
271
_context.LogWarning (method, DiagnosticId.DynamicallyAccessedMembersOnMethodReturnValueCanOnlyApplyToTypesOrStrings, method.
GetDisplayName
());
340
_context.LogWarning (setMethod, DiagnosticId.DynamicallyAccessedMembersConflictsBetweenPropertyAndAccessor, property.GetDisplayName (), setMethod.
GetDisplayName
());
378
_context.LogWarning (getMethod, DiagnosticId.DynamicallyAccessedMembersConflictsBetweenPropertyAndAccessor, property.GetDisplayName (), getMethod.
GetDisplayName
());
Linker.Dataflow\HandleCallAction.cs (1)
296
private partial string GetContainingSymbolDisplayName () => _callingMethodDefinition.
GetDisplayName
();
Linker.Dataflow\MethodProxy.cs (1)
39
public string GetDisplayName () => Method.
GetDisplayName
();
Linker.Steps\BodySubstitutionParser.cs (2)
73
LogWarning (methodNav, DiagnosticId.XmlInvalidValueForStub, method.
GetDisplayName
());
83
LogWarning (methodNav, DiagnosticId.XmlUnkownBodyModification, action, method.
GetDisplayName
());
Linker.Steps\CodeRewriterStep.cs (1)
165
throw new NotSupportedException ($"Cannot replace body of method '{method.
GetDisplayName
()}' because it has an out parameter.");
Linker.Steps\DescriptorMarker.cs (1)
170
LogDuplicatePreserve (method.
GetDisplayName
(), nav);
Linker.Steps\LinkAttributesParser.cs (3)
88
sb.Append (ca.Constructor.
GetDisplayName
());
504
LogWarning (parameterNav, DiagnosticId.XmlMoreThanOneValueForParameterOfMethod, paramName, method.
GetDisplayName
());
526
LogWarning (returnNav, DiagnosticId.XmlMoreThanOneReturnElementForMethod, method.
GetDisplayName
());
Linker.Steps\MarkStep.cs (4)
484
Context.LogMessage ($"Removing typecheck of '{type.FullName}' inside '{item.Body.Method.
GetDisplayName
()}' method.");
1602
ReportRequiresUnreferencedCode (method.
GetDisplayName
(), requiresUnreferencedCode!, new DiagnosticContext (origin, diagnosticsEnabled: true, Context));
1613
Context.LogWarning (origin, DiagnosticId.DynamicallyAccessedMembersMethodAccessedViaReflection, method.
GetDisplayName
());
3090
Context.LogWarning (methodOrigin, DiagnosticId.RequiresUnreferencedCodeOnStaticConstructor, method.
GetDisplayName
());
Linker.Steps\UnreachableBlocksOptimizer.cs (3)
64
_context.LogMessage ($"Reduced '{reducer.InstructionsReplaced}' instructions in conditional branches for [{method.DeclaringType.Module.Assembly.Name}] method '{method.
GetDisplayName
()}'.");
74
throw new InternalErrorException ($"Could not process the body of method '{method.
GetDisplayName
()}'.", e);
487
optimizer._context.LogMessage ($"Cannot inline constant result of '{md.
GetDisplayName
()}' call due to presence of side effects");
Linker.Steps\ValidateVirtualMethodAnnotationsStep.cs (2)
52
method.
GetDisplayName
(),
53
baseMethod.
GetDisplayName
());
Linker\LinkContext.cs (1)
1014
LogError (string.Format (SharedStrings.FailedToResolveMethodElementMessage, methodReference.
GetDisplayName
()), (int) DiagnosticId.FailedToResolveMetadataElement);
Linker\MemberReferenceExtensions.cs (1)
19
return method.
GetDisplayName
();
Linker\MessageContainer.cs (1)
329
sb.Append (method.
GetDisplayName
());
Linker\MethodDefinitionExtensions.cs (1)
125
throw new InvalidOperationException ($"Cannot get parameter #{(int) index} of method {method.
GetDisplayName
()} with {method.GetParametersCount ()} parameters");