This version of Unity is unsupported.

CommandBuffer.ThrowOnSetRenderTarget

public static bool ThrowOnSetRenderTarget;

Description

Throw an exception when SetRenderTarget is recorded on a command buffer. This is mainly usefull when using native renderpasses to avoid inadvertently recording SetRenderTarget commands on the command buffer.