16 references to ReadInt32
Microsoft.CodeAnalysis.CodeStyle (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ObjectWriterExtensions.cs (1)
29
var length = reader.
ReadInt32
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
498
(Capitalization)reader.
ReadInt32
());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (1)
57
EnforcementLevel = ((DiagnosticSeverity)reader.
ReadInt32
()).ToReportDiagnostic(),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (4)
242
reader.ReadArray(r => (Accessibility)r.
ReadInt32
()),
419
var category = (SymbolCategory)reader.
ReadInt32
();
420
var kind = (byte)((category != SymbolCategory.Invalid) ? reader.
ReadInt32
() : 0);
547
=> new((ModifierKindEnum)reader.
ReadInt32
());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (3)
167
case TypeCode.Int32: return
ReadInt32
();
234
return Encoding.GetEncoding(
ReadInt32
());
318
TypeCode.StringRef_4Bytes => _stringReferenceMap.GetValue(
ReadInt32
()),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Edge.cs (2)
25
=> new(editDistance: reader.
ReadInt32
(), childNodeIndex: reader.
ReadInt32
());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Node.cs (4)
38
new TextSpan(start: reader.
ReadInt32
(), length: reader.
ReadInt32
()),
39
edgeCount: reader.
ReadInt32
(), firstEdgeIndex: reader.
ReadInt32
());