41 references to Virtual
mscorlib (20)
system\__filters.cs (2)
67
if (((criteria & MethodAttributes.
Virtual
) != 0) && (attr & MethodAttributes.
Virtual
) == 0)
system\reflection\Associates.cs (2)
93
if ((methAttr & MethodAttributes.
Virtual
) != 0)
168
bool isVirtual =(methAttr & MethodAttributes.
Virtual
) != 0;
system\reflection\emit\methodbuilder.cs (3)
135
else if ((attributes & MethodAttributes.
Virtual
) != 0)
146
if ((attributes & (MethodAttributes.Abstract | MethodAttributes.
Virtual
)) !=
147
(MethodAttributes.Abstract | MethodAttributes.
Virtual
) &&
system\reflection\methodbase.cs (1)
230
public bool IsVirtual { get { return(Attributes & MethodAttributes.
Virtual
) != 0; }
system\rttype.cs (7)
653
(RuntimeMethodHandle.GetAttributes(methodHandle) & (MethodAttributes.RTSpecialName | MethodAttributes.Abstract | MethodAttributes.
Virtual
)) == (MethodAttributes.Abstract | MethodAttributes.
Virtual
) ||
727
if ((methodAttributes & MethodAttributes.
Virtual
) != 0)
753
(methodAttributes & MethodAttributes.
Virtual
) != 0 ||
763
if ((methodAttributes & (MethodAttributes.
Virtual
| MethodAttributes.Abstract)) != 0)
768
Contract.Assert((methodAttributes & (MethodAttributes.
Virtual
| MethodAttributes.Abstract)) == 0);
832
(methodAttributes & MethodAttributes.
Virtual
) == 0);
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (4)
135
MethodAttributes.Public | MethodAttributes.
Virtual
,
295
MethodAttributes.Public | MethodAttributes.
Virtual
,
621
MethodBuilder Meth = OutputTypeBuilder.DefineMethod( "Finalize", MethodAttributes.Public | MethodAttributes.
Virtual
, null, null );
750
MethodBuilder Meth = OutputTypeBuilder.DefineMethod( "Dispose", MethodAttributes.Public | MethodAttributes.
Virtual
, null, null );
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
142
MethodAttributes attr = MethodAttributes.Public | MethodAttributes.
Virtual
;
System (1)
regex\system\text\regularexpressions\RegexCompiler.cs (1)
3380
MethodAttributes ma = System.Reflection.MethodAttributes.Public | System.Reflection.MethodAttributes.
Virtual
;
System.Core (1)
Microsoft\Scripting\Compiler\DelegateHelpers.cs (1)
29
private const MethodAttributes InvokeAttributes = MethodAttributes.Public | MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.
Virtual
;
System.Data.Entity (9)
System\Data\Objects\Internal\EntityProxyFactory.cs (9)
739
const MethodAttributes getterAttributes = MethodAttributes.HideBySig | MethodAttributes.SpecialName | MethodAttributes.
Virtual
;
760
const MethodAttributes methodAttributes = MethodAttributes.HideBySig | MethodAttributes.SpecialName | MethodAttributes.
Virtual
;
875
const MethodAttributes getterAttributes = MethodAttributes.HideBySig | MethodAttributes.SpecialName | MethodAttributes.
Virtual
;
1227
const MethodAttributes methodAttributes = MethodAttributes.HideBySig | MethodAttributes.SpecialName | MethodAttributes.
Virtual
;
1347
const MethodAttributes methodAttributes = MethodAttributes.HideBySig | MethodAttributes.SpecialName | MethodAttributes.
Virtual
;
1371
const MethodAttributes methodAttributes = MethodAttributes.HideBySig | MethodAttributes.SpecialName | MethodAttributes.
Virtual
;
1435
MethodBuilder setChangeTracker = typeBuilder.DefineMethod("SetChangeTracker", MethodAttributes.Public | MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.
Virtual
| MethodAttributes.Final,
1452
_getRelationshipManager = typeBuilder.DefineMethod("get_RelationshipManager", MethodAttributes.Public | MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.SpecialName | MethodAttributes.
Virtual
| MethodAttributes.Final,
1628
MethodAttributes.Public | MethodAttributes.HideBySig | MethodAttributes.
Virtual
,
System.ServiceModel (1)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
90
MethodAttributes.Public | MethodAttributes.
Virtual
|
System.Web (3)
Util\FactoryGenerator.cs (1)
154
MethodAttributes.
Virtual
,
Util\FastPropertyAccessor.cs (2)
124
MethodAttributes.
Virtual
,
162
MethodAttributes.
Virtual
,
System.Web.Extensions (2)
UI\WebControls\Dynamic.cs (2)
366
MethodAttributes.
Virtual
| MethodAttributes.HideBySig,
401
MethodAttributes.
Virtual
| MethodAttributes.HideBySig,
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
169
MethodAttributes.
Virtual
,
System.WorkflowServices (1)
System\Workflow\Activities\ContractMethodInfo.cs (1)
45
MethodAttributes.
Virtual
;
System.Xml (2)
System\Xml\Serialization\CodeGenerator.cs (2)
41
internal static MethodAttributes PublicOverrideMethodAttributes = MethodAttributes.Public | MethodAttributes.
Virtual
| MethodAttributes.HideBySig;
42
internal static MethodAttributes ProtectedOverrideMethodAttributes = MethodAttributes.Family | MethodAttributes.
Virtual
| MethodAttributes.HideBySig;