private LogicalCallContext FetchLogicalCallContext()
{
ConstructorCallMessage message = this._ccmsg as ConstructorCallMessage;
if (message != null)
{
return(message.GetLogicalCallContext());
}
if (!(this._ccmsg is ConstructionCall))
{
throw new RemotingException(Environment.GetResourceString("Remoting_Message_BadType"));
}
return(((MethodCall)this._ccmsg).GetLogicalCallContext());
}