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); }
protected bool Equals(InjectedHlslLocationInfo other) { return(Range.Equals(other.Range) && FileSystemPath.Equals(other.FileSystemPath) && ProgramType == other.ProgramType); }