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