System.Xml.Serialization.CodeGenerator.Call C# (CSharp) Method

Call() private method

private Call ( MethodInfo methodInfo ) : void
methodInfo System.Reflection.MethodInfo
return void
        internal void Call(MethodInfo methodInfo)
        {
            Debug.Assert(methodInfo != null);
            if (methodInfo.IsVirtual && !methodInfo.DeclaringType.GetTypeInfo().IsValueType)
                _ilGen.Emit(OpCodes.Callvirt, methodInfo);
            else
                _ilGen.Emit(OpCodes.Call, methodInfo);
        }

Same methods

CodeGenerator::Call ( ConstructorInfo ctor ) : void