18 references to GetDisplayName
illink (18)
Linker.Dataflow\FieldValue.cs (1)
31
=> new string[] { Field.
GetDisplayName
() };
Linker.Dataflow\FlowAnnotations.cs (7)
230
_context.LogWarning (field, DiagnosticId.DynamicallyAccessedMembersOnFieldCanOnlyApplyToTypesOrStrings, field.
GetDisplayName
());
313
_context.LogWarning (property, DiagnosticId.DynamicallyAccessedMembersOnPropertyCanOnlyApplyToTypesOrStrings, property.
GetDisplayName
());
340
_context.LogWarning (setMethod, DiagnosticId.DynamicallyAccessedMembersConflictsBetweenPropertyAndAccessor, property.
GetDisplayName
(), setMethod.GetDisplayName ());
378
_context.LogWarning (getMethod, DiagnosticId.DynamicallyAccessedMembersConflictsBetweenPropertyAndAccessor, property.
GetDisplayName
(), getMethod.GetDisplayName ());
390
_context.LogWarning (property, DiagnosticId.DynamicallyAccessedMembersCouldNotFindBackingField, property.
GetDisplayName
());
398
_context.LogWarning (backingField, DiagnosticId.DynamicallyAccessedMembersOnPropertyConflictsWithBackingField, property.
GetDisplayName
(), backingField.
GetDisplayName
());
Linker.Steps\BodySubstitutionParser.cs (3)
102
LogWarning (fieldNav, DiagnosticId.XmlSubstitutedFieldNeedsToBeStatic, field.
GetDisplayName
());
108
LogWarning (fieldNav, DiagnosticId.XmlMissingSubstitutionValueForField, field.
GetDisplayName
());
112
LogWarning (fieldNav, DiagnosticId.XmlInvalidSubstitutionValueForField, value, field.
GetDisplayName
());
Linker.Steps\MarkStep.cs (4)
1649
((MemberReference) member).
GetDisplayName
(), // The cast is valid since it has to be a method or field
1657
Context.LogWarning (origin, id, type.GetDisplayName (), ((MemberReference) member).
GetDisplayName
());
1744
ReportRequiresUnreferencedCode (field.
GetDisplayName
(), requiresUnreferencedCodeAttribute!, new DiagnosticContext (origin, diagnosticsEnabled: true, Context));
1754
Context.LogWarning (origin, DiagnosticId.DynamicallyAccessedMembersFieldAccessedViaReflection, field.
GetDisplayName
());
Linker\LinkerAttributesInformation.cs (1)
80
context.LogWarning (provider, DiagnosticId.AttributeShouldOnlyBeUsedOnceOnMember, attributeValueType.FullName ?? "", (provider is MemberReference memberRef) ? memberRef.
GetDisplayName
() : provider.FullName);
Linker\MessageContainer.cs (1)
331
sb.Append (memberRef.
GetDisplayName
());
Linker\UnconditionalSuppressMessageAttributeState.cs (1)
53
string? elementName = suppression.Provider is MemberReference memberRef ? memberRef.
GetDisplayName
() : suppression.Provider.ToString ();