45 references to GetDisplayName
illink (45)
Linker.Dataflow\CompilerGeneratedState.cs (3)
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
());
295
_context.LogWarning (new MessageOrigin (method), DiagnosticId.MethodsAreAssociatedWithUserMethod, method.GetDisplayName (), alreadyAssociatedMethod.GetDisplayName (), generatedType.
GetDisplayName
());
Linker.Dataflow\DiagnosticUtilities.cs (1)
16
genericParameter.DeclaringType.
GetDisplayName
();
Linker.Dataflow\MethodBodyScanner.cs (1)
190
$"""In method {method.FullName}, local variable V_{localVariable.Index} references {displayName} of type {localReference.ReferencedType.
GetDisplayName
()} which is a reference. Dataflow tracking has failed.""",
Linker.Dataflow\TypeProxy.cs (1)
44
public string GetDisplayName () => Type.
GetDisplayName
();
Linker.Steps\BodySubstitutionParser.cs (2)
60
LogWarning (methodNav, DiagnosticId.XmlCouldNotFindMethodOnType, signature, type.
GetDisplayName
());
97
LogWarning (fieldNav, DiagnosticId.XmlCouldNotFindFieldOnType, name, type.
GetDisplayName
());
Linker.Steps\DescriptorMarker.cs (2)
116
LogWarning (nav, DiagnosticId.TypeHasNoFieldsToPreserve, type.
GetDisplayName
());
120
LogWarning (nav, DiagnosticId.TypeHasNoMethodsToPreserve, type.
GetDisplayName
());
Linker.Steps\LinkAttributesParser.cs (5)
95
sb.Append ($"{caa.Type.
GetDisplayName
()} {caa.Value}");
162
LogWarning (nav, DiagnosticId.XmlCouldNotFindMatchingConstructorForCustomAttribute, attributeType.
GetDisplayName
());
326
_context.LogError (GetMessageOriginForPosition (nav), DiagnosticId.UnexpectedAttributeArgumentType, typeref.
GetDisplayName
());
337
_context.LogError (GetMessageOriginForPosition (nav), DiagnosticId.UnexpectedAttributeArgumentType, typeref.
GetDisplayName
());
407
_context.LogError (null, DiagnosticId.CannotConverValueToType, value.ToString () ?? "", targetType.
GetDisplayName
());
Linker.Steps\MarkStep.cs (16)
880
Context.LogWarning (origin, DiagnosticId.UnresolvedTypeInDynamicDependencyAttribute, typeReference.
GetDisplayName
());
886
Context.LogWarning (context, DiagnosticId.UnresolvedTypeInDynamicDependencyAttribute, context.DeclaringType.
GetDisplayName
());
895
Context.LogWarning (origin, DiagnosticId.NoMembersResolvedForMemberSignatureOrType, memberSignature, type.
GetDisplayName
());
902
Context.LogWarning (origin, DiagnosticId.NoMembersResolvedForMemberSignatureOrType, memberTypes.ToString (), type.
GetDisplayName
());
1003
Context.LogWarning (context, DiagnosticId.CouldNotResolveDependencyMember, member ?? "", td.
GetDisplayName
());
1648
Context.LogWarning (origin, id, type.
GetDisplayName
(),
1657
Context.LogWarning (origin, id, type.
GetDisplayName
(), ((MemberReference) member).GetDisplayName ());
1938
Context.LogWarning (origin, DiagnosticId.AttributeIsReferencedButTrimmerRemoveAllInstances, type.
GetDisplayName
());
1970
Context.LogWarning (typeOrigin, DiagnosticId.RequiresUnreferencedCodeOnBaseClass, type.
GetDisplayName
(), type.BaseType.
GetDisplayName
(), arg1, arg2);
2722
Context.LogWarning (type, DiagnosticId.TypeHasNoFieldsToPreserve, type.
GetDisplayName
());
2726
Context.LogWarning (type, DiagnosticId.TypeHasNoMethodsToPreserve, type.
GetDisplayName
());
3271
throw new LinkerFatalErrorException (MessageContainer.CreateErrorMessage (origin, DiagnosticId.CannotStubConstructorWhenBaseTypeDoesNotHaveConstructor, method.DeclaringType.
GetDisplayName
()));
3294
throw new LinkerFatalErrorException (MessageContainer.CreateErrorMessage (null, DiagnosticId.CouldNotFindConstructor, nse.
GetDisplayName
()));
3304
throw new LinkerFatalErrorException (MessageContainer.CreateErrorMessage (null, DiagnosticId.CouldNotFindConstructor, objectType.
GetDisplayName
()));
3321
throw new LinkerFatalErrorException (MessageContainer.CreateErrorMessage (null, DiagnosticId.CouldNotFindConstructor, disablePrivateReflection.
GetDisplayName
()));
Linker.Steps\ProcessLinkerXmlBase.cs (8)
257
LogWarning (nav, DiagnosticId.XmlCouldNotFindFieldOnType, signature, type.
GetDisplayName
());
277
LogWarning (nav, DiagnosticId.XmlCouldNotFindFieldOnType, name, type.
GetDisplayName
());
311
LogWarning (nav, DiagnosticId.XmlCouldNotFindMethodOnType, signature, type.
GetDisplayName
());
331
LogWarning (nav, DiagnosticId.XmlCouldNotFindMethodOnType, name, type.
GetDisplayName
());
355
LogWarning (nav, DiagnosticId.XmlCouldNotFindEventOnType, signature, type.
GetDisplayName
());
373
LogWarning (nav, DiagnosticId.XmlCouldNotFindEventOnType, name, type.
GetDisplayName
());
407
LogWarning (nav, DiagnosticId.XmlCouldNotFindPropertyOnType, signature, type.
GetDisplayName
());
425
LogWarning (nav, DiagnosticId.XmlCouldNotFindPropertyOnType, name, type.
GetDisplayName
());
Linker\LinkContext.cs (1)
1020
LogError (string.Format (SharedStrings.FailedToResolveTypeElementMessage, typeReference.
GetDisplayName
()), (int) DiagnosticId.FailedToResolveMetadataElement);
Linker\MemberReferenceExtensions.cs (2)
16
return type.
GetDisplayName
();
24
sb.Append (member.DeclaringType.
GetDisplayName
()).Append ('.');
Linker\MethodReferenceExtensions.cs (3)
26
sb.Insert (0, '.').Insert (0, method.DeclaringType.
GetDisplayName
());
40
sb.Insert (0, '.').Insert (0, method.DeclaringType.
GetDisplayName
());
69
sb.Insert (0, '.').Insert (0, method.DeclaringType.
GetDisplayName
());