Exemplo n.º 1
0
 public static void Write(UnsafeWriter writer, InjectedHlslLocationInfo value)
 {
     UnsafeMarshallers.FileSystemPathMarshaller.Marshal(writer, value.FileSystemPath);
     writer.Write(value.Range.StartOffset);
     writer.Write(value.Range.EndOffset);
     writer.WriteEnum(value.ProgramType);
 }
Exemplo n.º 2
0
 protected bool Equals(InjectedHlslLocationInfo other)
 {
     return(Range.Equals(other.Range) && FileSystemPath.Equals(other.FileSystemPath) && ProgramType == other.ProgramType);
 }