//[SecurityCritical] //protected InstanceLockLostException(SerializationInfo info, StreamingContext context) // : base(info, context) //{ //} private static string ToMessage(Guid instanceId) { if (instanceId != Guid.Empty) { return(SRCore.InstanceLockLostSpecific(instanceId)); } return(SRCore.InstanceLockLostDefault); }