19 references to SerializationKinds
Microsoft.CodeAnalysis.Workspaces (19)
Serialization\SerializableSourceText.cs (7)
153
writer.WriteInt32((int)
SerializationKinds
.MemoryMapFile);
162
writer.WriteInt32((int)
SerializationKinds
.Bits);
180
var
kind = (
SerializationKinds
)reader.ReadInt32();
181
Contract.ThrowIfFalse(kind is
SerializationKinds
.Bits or
SerializationKinds
.MemoryMapFile);
183
if (kind ==
SerializationKinds
.MemoryMapFile)
Serialization\SerializerService_Reference.cs (12)
177
PortableExecutableReference reference,
SerializationKinds
kind, ObjectWriter writer)
267
WritePortableExecutableReferenceHeaderTo(reference,
SerializationKinds
.Bits, writer);
275
var
kind = (
SerializationKinds
)reader.ReadInt32();
276
Contract.ThrowIfFalse(kind is
SerializationKinds
.Bits or
SerializationKinds
.MemoryMapFile);
358
WritePortableExecutableReferenceHeaderTo(reference,
SerializationKinds
.MemoryMapFile, writer);
373
ObjectReader reader,
SerializationKinds
kind)
413
ObjectReader reader,
SerializationKinds
kind)
415
Contract.ThrowIfFalse(kind is
SerializationKinds
.Bits or
SerializationKinds
.MemoryMapFile);
417
return kind ==
SerializationKinds
.Bits