16 references to GetMessageOriginForPosition
illink (16)
Linker.Steps\DescriptorMarker.cs (9)
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));
113
_context.MarkingHelpers.MarkExportedType (currentType, assembly.MainModule, new DependencyInfo(DependencyKind.DeclaringType, currentType),
GetMessageOriginForPosition
(nav));
148
_context.Annotations.Mark (type, new DependencyInfo (DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
154
_context.Annotations.Mark (parent, new DependencyInfo (DependencyKind.DeclaringType, currentType),
GetMessageOriginForPosition
(nav));
176
_context.Annotations.Mark (field, new DependencyInfo (DependencyKind.XmlDescriptor, _xmlDocumentLocation),
GetMessageOriginForPosition
(nav));
190
_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);