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