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