18 references to GetDisplayName
illink (18)
Linker.Dataflow\FieldValue.cs (1)
31
=> new string[] { Field.
GetDisplayName
() };
Linker.Dataflow\FlowAnnotations.cs (7)
238
_context.LogWarning(field, DiagnosticId.DynamicallyAccessedMembersOnFieldCanOnlyApplyToTypesOrStrings, field.
GetDisplayName
());
334
_context.LogWarning(property, DiagnosticId.DynamicallyAccessedMembersOnPropertyCanOnlyApplyToTypesOrStrings, property.
GetDisplayName
());
365
_context.LogWarning(setMethod, DiagnosticId.DynamicallyAccessedMembersConflictsBetweenPropertyAndAccessor, property.
GetDisplayName
(), setMethod.GetDisplayName());
409
_context.LogWarning(getMethod, DiagnosticId.DynamicallyAccessedMembersConflictsBetweenPropertyAndAccessor, property.
GetDisplayName
(), getMethod.GetDisplayName());
424
_context.LogWarning(property, DiagnosticId.DynamicallyAccessedMembersCouldNotFindBackingField, property.
GetDisplayName
());
436
_context.LogWarning(backingField, DiagnosticId.DynamicallyAccessedMembersOnPropertyConflictsWithBackingField, property.
GetDisplayName
(), backingField.
GetDisplayName
());
Linker.Steps\BodySubstitutionParser.cs (3)
108
LogWarning(fieldNav, DiagnosticId.XmlSubstitutedFieldNeedsToBeStatic, field.
GetDisplayName
());
115
LogWarning(fieldNav, DiagnosticId.XmlMissingSubstitutionValueForField, field.
GetDisplayName
());
120
LogWarning(fieldNav, DiagnosticId.XmlInvalidSubstitutionValueForField, value, field.
GetDisplayName
());
Linker.Steps\MarkStep.cs (4)
1814
((MemberReference)member).
GetDisplayName
(), // The cast is valid since it has to be a method or field
1823
Context.LogWarning(origin, id, type.GetDisplayName(), ((MemberReference)member).
GetDisplayName
());
1913
ReportRequiresUnreferencedCode(field.
GetDisplayName
(), requiresUnreferencedCodeAttribute!, new DiagnosticContext(origin, diagnosticsEnabled: true, Context));
1924
Context.LogWarning(origin, DiagnosticId.DynamicallyAccessedMembersFieldAccessedViaReflection, field.
GetDisplayName
());
Linker\LinkerAttributesInformation.cs (1)
87
context.LogWarning(provider, DiagnosticId.AttributeShouldOnlyBeUsedOnceOnMember, attributeValueType.FullName ?? "", (provider is MemberReference memberRef) ? memberRef.
GetDisplayName
() : provider.FullName);
Linker\MessageContainer.cs (1)
338
sb.Append(memberRef.
GetDisplayName
());
Linker\UnconditionalSuppressMessageAttributeState.cs (1)
56
string? elementName = suppression.Provider is MemberReference memberRef ? memberRef.
GetDisplayName
() : suppression.Provider.ToString();