3 writes to Width
Microsoft.CodeAnalysis.CSharp (3)
Errors\SyntaxDiagnosticInfo.cs (3)
26this.Width = width; 52Width = original.Width; 73this.Width = reader.ReadInt32();
9 references to Width
Microsoft.CodeAnalysis.CSharp (9)
Errors\SyntaxDiagnosticInfo.cs (3)
46return new SyntaxDiagnosticInfo(offset, this.Width, (ErrorCode)this.Code, this.Arguments); 52Width = original.Width; 66writer.WriteInt32(this.Width);
Parser\DocumentationCommentParser.cs (1)
801SyntaxDiagnosticInfo crefInfo = new SyntaxDiagnosticInfo(rawInfo.Offset, rawInfo.Width, ErrorCode.WRN_ErrorOverride, rawInfo, rawInfo.Code);
Parser\SyntaxParser.cs (3)
918tokenDiagnostics[i] = new SyntaxDiagnosticInfo(d.Offset - leadingWidth, d.Width, (ErrorCode)d.Code, d.Arguments); 971targetDiagnostics[i] = new SyntaxDiagnosticInfo(d.Offset + triviaWidth, d.Width, (ErrorCode)d.Code, d.Arguments); 985new 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;