29 references to GetDisplayName
ILCompiler.Compiler (29)
Compiler\BodySubstitutionParser.cs (2)
93LogWarning(methodNav, DiagnosticId.XmlInvalidValueForStub, method.GetDisplayName()); 99LogWarning(methodNav, DiagnosticId.XmlUnkownBodyModification, action, method.GetDisplayName());
Compiler\Dataflow\CompilerGeneratedState.cs (9)
194AddWarning(new MessageOrigin(method), DiagnosticId.MethodsAreAssociatedWithUserMethod, method.GetDisplayName(), alreadyAssociatedMethod.GetDisplayName(), generatedType.GetDisplayName()); 262AddWarning(new MessageOrigin(method), DiagnosticId.MethodsAreAssociatedWithStateMachine, method.GetDisplayName(), alreadyAssociatedMethod.GetDisplayName(), stateMachineType.GetDisplayName()); 334AddWarning(new MessageOrigin(userDefinedMethod), DiagnosticId.MethodsAreAssociatedWithUserMethod, userDefinedMethod.GetDisplayName(), alreadyAssociatedMethod.GetDisplayName(), nestedFunction.GetDisplayName()); 366AddWarning(new MessageOrigin(method), DiagnosticId.MethodsAreAssociatedWithUserMethod, method.GetDisplayName(), alreadyAssociatedMethod.GetDisplayName(), generatedType.GetDisplayName());
Compiler\Dataflow\DiagnosticUtilities.cs (2)
23return method.GetDisplayName(); 31return m.GetDisplayName();
Compiler\Dataflow\FlowAnnotations.cs (4)
450_logger.LogWarning(method, DiagnosticId.DynamicallyAccessedMembersOnMethodReturnValueCanOnlyApplyToTypesOrStrings, method.GetDisplayName()); 461_logger.LogWarning(method, DiagnosticId.DynamicallyAccessedMembersOnMethodParameterCanOnlyApplyToTypesOrStrings, DiagnosticUtilities.GetParameterNameForErrorMessage(method, parameter.SequenceNumber - 1), method.GetDisplayName()); 552_logger.LogWarning(setMethod, DiagnosticId.DynamicallyAccessedMembersConflictsBetweenPropertyAndAccessor, property.GetDisplayName(), setMethod.GetDisplayName()); 596_logger.LogWarning(getMethod, DiagnosticId.DynamicallyAccessedMembersConflictsBetweenPropertyAndAccessor, property.GetDisplayName(), getMethod.GetDisplayName());
Compiler\Dataflow\HandleCallAction.cs (1)
790private partial string GetContainingSymbolDisplayName() => _callingMethod.GetDisplayName();
Compiler\Dataflow\MethodBodyScanner.cs (1)
216$"""In method {method.OwningMethod.GetDisplayName()}, local variable V_{localVariableIndex} references {displayName} of type {localReference.ReferencedType.GetDisplayName()} which is a reference. Dataflow tracking has failed.""",
Compiler\UsageBasedMetadataManager.cs (8)
664Logger.LogWarning(new MessageOrigin(method), DiagnosticId.RequiresUnreferencedCodeOnStaticConstructor, method.GetDisplayName()); 667Logger.LogWarning(new MessageOrigin(method), DiagnosticId.RequiresDynamicCodeOnStaticConstructor, method.GetDisplayName()); 670Logger.LogWarning(new MessageOrigin(method), DiagnosticId.RequiresAssemblyFilesOnStaticConstructor, method.GetDisplayName()); 677Logger.LogWarning(new MessageOrigin(method), DiagnosticId.RequiresUnreferencedCodeOnEntryPoint, method.GetDisplayName()); 680Logger.LogWarning(new MessageOrigin(method), DiagnosticId.RequiresDynamicCodeOnEntryPoint, method.GetDisplayName()); 683Logger.LogWarning(new MessageOrigin(method), DiagnosticId.RequiresAssemblyFilesOnEntryPoint, method.GetDisplayName()); 831string overridingMethodName = overridingMethod.GetDisplayName(); 832string baseMethodName = baseMethod.GetDisplayName();
src\runtime\src\coreclr\tools\Common\Compiler\Dataflow\MethodProxy.cs (1)
24public string GetDisplayName() => Method.GetDisplayName();
src\runtime\src\coreclr\tools\Common\Compiler\DisplayNameHelpers.cs (1)
18MethodDesc method => method.GetDisplayName(),