2 instantiations of TextPosition
Microsoft.Analyzers.Local (2)
ApiLifecycle\Json\TextScanner.cs (2)
73? new(0, Position.Line + 1) 74: new(Position.Column + 1, Position.Line);
9 references to TextPosition
Microsoft.Analyzers.Local (9)
ApiLifecycle\Json\JsonParseException.cs (3)
24public TextPosition Position { get; } 45public JsonParseException(ParsingError type, TextPosition position) 56public JsonParseException(string message, ParsingError error, TextPosition position)
ApiLifecycle\Json\JsonReader.cs (4)
176var errorPosition = _scanner.Position; 220var errorPosition = _scanner.Position; 279var errorPosition = _scanner.Position; 356var errorPosition = _scanner.Position;
ApiLifecycle\Json\TextScanner.cs (2)
31public TextPosition Position { get; private set; } 111var errorPosition = Position;