16 references to GetMessageOriginForPosition
illink (16)
Linker.Steps\DescriptorMarker.cs (9)
43
var origin =
GetMessageOriginForPosition
(duplicatePosition);
63
_context.MarkingHelpers.MarkExportedType(exportedType, assembly.MainModule, new DependencyInfo(DependencyKind.XmlDescriptor, assembly.MainModule),
GetMessageOriginForPosition
(nav));
99
_context.Annotations.Mark(type, new DependencyInfo(DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
111
_context.MarkingHelpers.MarkExportedType(exported, assembly.MainModule, new DependencyInfo(DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
121
_context.MarkingHelpers.MarkExportedType(currentType, assembly.MainModule, new DependencyInfo(DependencyKind.DeclaringType, currentType),
GetMessageOriginForPosition
(nav));
157
_context.Annotations.Mark(type, new DependencyInfo(DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
165
_context.Annotations.Mark(parent, new DependencyInfo(DependencyKind.DeclaringType, currentType),
GetMessageOriginForPosition
(nav));
187
_context.Annotations.Mark(field, new DependencyInfo(DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
204
_context.Annotations.Mark(method, new DependencyInfo(DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
Linker.Steps\LinkAttributesParser.cs (5)
87
originsBuilder.Add(
GetMessageOriginForPosition
(attributeNav));
320
_context.LogError(
GetMessageOriginForPosition
(nav), DiagnosticId.CouldNotResolveCustomAttributeTypeValue, svalue);
353
_context.LogError(
GetMessageOriginForPosition
(nav), DiagnosticId.UnexpectedAttributeArgumentType, typeref.GetDisplayName());
366
_context.LogError(
GetMessageOriginForPosition
(nav), DiagnosticId.UnexpectedAttributeArgumentType, typeref.GetDisplayName());
379
_context.LogError(
GetMessageOriginForPosition
(nav), DiagnosticId.TypeUsedWithAttributeValueCouldNotBeFound, typeName, nav.Value);
Linker.Steps\ProcessLinkerXmlBase.cs (2)
533
_context.LogWarning(message, warningCode,
GetMessageOriginForPosition
(position));
538
_context.LogWarning(
GetMessageOriginForPosition
(position), id, args);