This version of Unity is unsupported.

RenderParams.shadowCastingMode

public Rendering.ShadowCastingMode shadowCastingMode;

Description

Describes if geometry should cast shadows.