2 instantiations of XmlLocation
Microsoft.CodeAnalysis (2)
Diagnostic\XmlLocation.cs (2)
33
return new
XmlLocation
(path, lineNumber, columnNumber);
45
return new
XmlLocation
(path, lineNumber, columnNumber);
26 references to XmlLocation
Microsoft.CodeAnalysis (5)
Diagnostic\XmlLocation.cs (5)
16
internal class XmlLocation : Location, IEquatable<
XmlLocation
?>
27
public static
XmlLocation
Create(XmlException exception, string path)
36
public static
XmlLocation
Create(XObject obj, string path)
61
public bool Equals(
XmlLocation
? other)
73
return this.Equals(obj as
XmlLocation
);
Microsoft.CodeAnalysis.CSharp (2)
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (2)
404
Location errorLocation =
XmlLocation
.Create(e, resolvedFilePath);
487
location =
XmlLocation
.Create(includeElement, currentXmlFilePath);
Microsoft.CodeAnalysis.VisualBasic (19)
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (19)
314
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(element, currentXmlFilePath),
328
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(element, currentXmlFilePath), ERRID.WRN_XMLDocReturnsOnADeclareSub)
331
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(element, currentXmlFilePath), ERRID.WRN_XMLDocReturnsOnWriteOnlyProperty)
334
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(element, currentXmlFilePath),
346
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(element, currentXmlFilePath),
354
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(element, currentXmlFilePath),
363
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(element, currentXmlFilePath),
372
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(element, currentXmlFilePath),
400
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(element, currentXmlFilePath), ERRID.WRN_XMLDocExceptionTagWithoutCRef)
408
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(element, currentXmlFilePath),
599
location =
XmlLocation
.Create(includeElement, currentXmlFilePath)
634
ProcessErrorLocations(
XmlLocation
.Create(attribute, currentXmlFilePath), Nothing, useSiteInfo, errorLocations, Nothing)
639
ProcessErrorLocations(
XmlLocation
.Create(attribute, currentXmlFilePath), reference.ToFullString().TrimEnd(), useSiteInfo, errorLocations, ERRID.WRN_XMLDocCrefAttributeNotFound1)
677
ProcessErrorLocations(
XmlLocation
.Create(attribute, currentXmlFilePath), reference.ToString(), Nothing, errorLocations, errid)
702
Me._diagnostics.Add(ERRID.WRN_XMLDocCrefAttributeNotFound1,
XmlLocation
.Create(attribute, currentXmlFilePath), value)
713
Private Sub ProcessErrorLocations(currentXmlLocation As
XmlLocation
, referenceName As String, useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), errorLocations As ImmutableArray(Of Location), errid As Nullable(Of ERRID))
767
Dim loc As Location =
XmlLocation
.Create(attribute, currentXmlFilePath)
774
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(attribute, currentXmlFilePath), badNameValueError, attributeValue, Me._tagsSupport.SymbolName)
779
commentMessage = GenerateDiagnostic(
XmlLocation
.Create(attribute, currentXmlFilePath), badNameValueError, attributeValue, Me._tagsSupport.SymbolName)