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