7 writes to Position
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.MethodSymbolKey.cs (1)
208reader.Position = beforeReturnTypeAndParameters;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PropertySymbolKey.cs (1)
63reader.Position = beforeParametersPosition;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (5)
51Position = 0; 66Position++; 99Position++; 154Position++; 163Position += 2;
20 references to Position
Microsoft.CodeAnalysis.Workspaces (20)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.MethodSymbolKey.cs (2)
178var beforeReturnTypeAndParameters = reader.Position; 211if (reader.Position == beforeReturnTypeAndParameters)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PropertySymbolKey.cs (2)
45var beforeParametersPosition = reader.Position; 66if (reader.Position == beforeParametersPosition)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (16)
65Debug.Assert(Data[Position] == c); 87Debug.Assert(char.IsNumber(Data[Position])); 91var start = Position; 92while (char.IsNumber(Data[Position])) 94var digit = Data[Position] - '0'; 102Debug.Assert(start != Position); 139if ((SymbolKeyType)Data[Position] == SymbolKeyType.Null) 147var start = Position; 152if (Data[Position] != DoubleQuoteChar) 160if (Data[Position + 1] == DoubleQuoteChar) 170var end = Position; 202Debug.Assert((SymbolKeyType)Data[Position] != SymbolKeyType.Null); 259while (Position < Data.Length) 261var ch = Data[Position]; 266var type = (SymbolKeyType)Data[Position]; 272else if (Data[Position] == DoubleQuoteChar)