15 references to GetMessageOriginForPosition
illink (15)
Linker.Steps\DescriptorMarker.cs (8)
43
var origin =
GetMessageOriginForPosition
(duplicatePosition);
62
_context.MarkingHelpers.MarkExportedType (exportedType, assembly.MainModule, new DependencyInfo (DependencyKind.XmlDescriptor, assembly.MainModule),
GetMessageOriginForPosition
(nav));
93
_context.Annotations.Mark (type, new DependencyInfo (DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
105
_context.MarkingHelpers.MarkExportedType (exported, assembly.MainModule, new DependencyInfo (DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
136
_context.Annotations.Mark (type, new DependencyInfo (DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
142
_context.Annotations.Mark (parent, new DependencyInfo (DependencyKind.DeclaringType, currentType),
GetMessageOriginForPosition
(nav));
164
_context.Annotations.Mark (field, new DependencyInfo (DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
178
_context.Annotations.Mark (method, new DependencyInfo (DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
Linker.Steps\LinkAttributesParser.cs (5)
79
originsBuilder.Add (
GetMessageOriginForPosition
(attributeNav));
300
_context.LogError (
GetMessageOriginForPosition
(nav), DiagnosticId.CouldNotResolveCustomAttributeTypeValue, svalue);
326
_context.LogError (
GetMessageOriginForPosition
(nav), DiagnosticId.UnexpectedAttributeArgumentType, typeref.GetDisplayName ());
337
_context.LogError (
GetMessageOriginForPosition
(nav), DiagnosticId.UnexpectedAttributeArgumentType, typeref.GetDisplayName ());
349
_context.LogError (
GetMessageOriginForPosition
(nav), DiagnosticId.TypeUsedWithAttributeValueCouldNotBeFound, typeName, nav.Value);
Linker.Steps\ProcessLinkerXmlBase.cs (2)
477
_context.LogWarning (message, warningCode,
GetMessageOriginForPosition
(position));
482
_context.LogWarning (
GetMessageOriginForPosition
(position), id, args);