2 writes to Offset
Microsoft.CodeAnalysis.CSharp (2)
Errors\SyntaxDiagnosticInfo.cs (2)
20this.Offset = offset; 46Offset = original.Offset;
9 references to Offset
Microsoft.CodeAnalysis.CSharp (9)
Errors\SyntaxDiagnosticInfo.cs (1)
46Offset = original.Offset;
Parser\AbstractLexer.cs (1)
50array[i] = _errors[i].WithOffset(_errors[i].Offset + leadingTriviaWidth);
Parser\DocumentationCommentParser.cs (1)
796SyntaxDiagnosticInfo crefInfo = new SyntaxDiagnosticInfo(rawInfo.Offset, rawInfo.Width, ErrorCode.WRN_ErrorOverride, rawInfo, rawInfo.Code);
Parser\LanguageParser_InterpolatedString.cs (1)
484builder.Add(sd.WithOffset(sd.Offset + offset));
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); 1024int newOffset = triviaOffset + diagnosticOffset + diagnostic.Offset;
Syntax\InternalSyntax\SyntaxFirstTokenReplacer.cs (1)
76oldSyntaxDiagnostic.Offset + diagnosticOffsetDelta,
Syntax\SyntaxTreeDiagnosticEnumerator.cs (1)
63var spanStart = Math.Min(_position - leadingWidthAlreadyCounted + sdi.Offset, length);