22 references to IsVirtual
mscorlib (6)
system\diagnostics\eventing\eventsource.cs (1)
3406
if (method.
IsVirtual
)
system\reflection\methodbase.cs (1)
376
bool _MethodBase.IsVirtual { get { return
IsVirtual
; } }
system\reflection\methodinfo.cs (2)
389
if (!
IsVirtual
|| m_declaringType.IsInterface)
829
if (!
IsVirtual
|| IsStatic || m_declaringType == null || m_declaringType.IsInterface)
system\rttype.cs (2)
1443
Contract.Assert(associateMethod.
IsVirtual
);
2470
if (!methodInfo.
IsVirtual
&& !methodInfo.IsAbstract)
System.Data.Entity (4)
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (2)
228
gen.Emit(mi.
IsVirtual
? OpCodes.Callvirt : OpCodes.Call, mi);
376
gen.Emit(mi.
IsVirtual
? OpCodes.Callvirt : OpCodes.Call, mi); // .Property =
System\Data\Objects\Internal\EntityProxyFactory.cs (2)
587
result = method.
IsVirtual
&&
1575
bool canOverrideMethod = (_getObjectDataMethod.
IsVirtual
&& !_getObjectDataMethod.IsFinal) && _getObjectDataMethod.IsPublic;
System.Data.Linq (1)
SqlClient\Common\InheritanceRules.cs (1)
44
bool isVirtual = meth != null && meth.
IsVirtual
;
System.Data.SqlXml (2)
System\Xml\Xsl\IlGen\GenerateHelper.cs (2)
809
OpCode opcode = meth.
IsVirtual
|| meth.IsAbstract ? OpCodes.Callvirt : OpCodes.Call;
831
OpCode opcode = meth.
IsVirtual
|| meth.IsAbstract ? OpCodes.Callvirt : OpCodes.Call;
System.Runtime.Remoting (3)
metadata\wsdlparser.cs (1)
3675
else if (baseInfo.
IsVirtual
&& bVirtual)
metadata\wsdlwriter.cs (2)
2388
bool bVirtual = info.
IsVirtual
;
2417
else if (baseInfo.
IsVirtual
&& bVirtual)
System.Runtime.Serialization (3)
System\Runtime\Serialization\ClassDataContract.cs (2)
1098
return method.
IsVirtual
&& ((method.Attributes & MethodAttributes.NewSlot) == 0);
1162
else if (method.
IsVirtual
)
System\Runtime\Serialization\CodeGenerator.cs (1)
634
if (methodInfo.
IsVirtual
&& !methodInfo.DeclaringType.IsValueType)
System.ServiceModel (2)
System\ServiceModel\Description\TypeLoader.cs (1)
1362
return method.
IsVirtual
&& ((method.Attributes & MethodAttributes.NewSlot) == 0);
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
256
if (methodInfo.
IsVirtual
)
System.Xml (1)
System\Xml\Serialization\CodeGenerator.cs (1)
611
if (methodInfo.
IsVirtual
&& !methodInfo.DeclaringType.IsValueType)