2 writes to Width
Microsoft.CodeAnalysis.CSharp (2)
Errors\SyntaxDiagnosticInfo.cs (2)
21this.Width = width; 47Width = original.Width;
8 references to Width
Microsoft.CodeAnalysis.CSharp (8)
Errors\SyntaxDiagnosticInfo.cs (2)
41return new SyntaxDiagnosticInfo(offset, this.Width, (ErrorCode)this.Code, this.Arguments); 47Width = original.Width;
Parser\DocumentationCommentParser.cs (1)
796SyntaxDiagnosticInfo crefInfo = new SyntaxDiagnosticInfo(rawInfo.Offset, rawInfo.Width, ErrorCode.WRN_ErrorOverride, rawInfo, rawInfo.Code);
Parser\SyntaxParser.cs (3)
960tokenDiagnostics[i] = new SyntaxDiagnosticInfo(d.Offset - leadingWidth, d.Width, (ErrorCode)d.Code, d.Arguments); 1013targetDiagnostics[i] = new SyntaxDiagnosticInfo(d.Offset + triviaWidth, d.Width, (ErrorCode)d.Code, d.Arguments); 1027new SyntaxDiagnosticInfo(newOffset, diagnostic.Width, (ErrorCode)diagnostic.Code, diagnostic.Arguments)
Syntax\InternalSyntax\SyntaxFirstTokenReplacer.cs (1)
77oldSyntaxDiagnostic.Width,
Syntax\SyntaxTreeDiagnosticEnumerator.cs (1)
64var spanWidth = Math.Min(spanStart + sdi.Width, length) - spanStart;