7 overrides of IsVirtual
ILCompiler.Compiler (2)
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (1)
755public override bool IsVirtual
parent\parent\Common\TypeSystem\IL\Stubs\GetFieldHelperMethodOverride.cs (1)
211public override bool IsVirtual
ILCompiler.TypeSystem (5)
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
91public override bool IsVirtual
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
35public override bool IsVirtual => _wrappedMethod.IsVirtual;
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
84public override bool IsVirtual
parent\parent\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
229public override bool IsVirtual
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
36public override bool IsVirtual => _typicalMethodDef.IsVirtual;
71 references to IsVirtual
ILCompiler.Compiler (36)
Compiler\Compilation.cs (1)
483Debug.Assert(calledMethod.HasInstantiation && calledMethod.IsVirtual);
Compiler\CompilerTypeSystemContext.Aot.cs (2)
238if (!virtualOnly || syntheticMethod.IsVirtual) 247if (!virtualOnly || syntheticMethod.IsVirtual)
Compiler\Dataflow\FlowAnnotations.cs (1)
250return method.IsVirtual || annotation.ParameterAnnotations != null;
Compiler\DelegateCreationInfo.cs (2)
248if (followVirtualDispatch && targetMethod.IsVirtual) 269if (followVirtualDispatch && targetMethod.IsVirtual)
Compiler\DependencyAnalysis\EETypeNode.cs (1)
478Debug.Assert(!implMethod.IsVirtual);
Compiler\DependencyAnalysis\GenericLookupResult.cs (1)
704Debug.Assert(method.IsVirtual);
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (1)
27Debug.Assert(method.IsVirtual || (method.Signature.IsStatic && !method.IsAbstract));
Compiler\DependencyAnalysis\InterfaceDispatchMapNode.cs (1)
104Debug.Assert(declMethod.IsVirtual);
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (3)
647if (method.IsVirtual) 1438if (_method.IsVirtual && _method.HasInstantiation && !_method.IsGenericMethodDefinition && !_method.OwningType.IsGenericDefinition) 1519if (_constrainedMethod.IsVirtual && _constrainedMethod.HasInstantiation)
Compiler\DependencyAnalysis\ReflectionVirtualInvokeMapNode.cs (1)
42if (!method.IsVirtual)
Compiler\DependencyAnalysis\RuntimeMethodHandleNode.cs (1)
54&& _targetMethod.HasInstantiation && _targetMethod.IsVirtual)
Compiler\DependencyAnalysis\VariantInterfaceMethodUseNode.cs (2)
29Debug.Assert(decl.IsVirtual); 97Debug.Assert(calledMethod.IsVirtual);
Compiler\DependencyAnalysis\VTableSliceNode.cs (1)
198Debug.Assert(virtualMethod.IsVirtual);
Compiler\ILScanner.cs (1)
486if (node is IMethodBodyNode { Method.IsVirtual: true, Method.HasInstantiation: false } virtualMethodBody)
Compiler\LazyGenericsPolicy.cs (1)
23return method.IsVirtual || method.HasCustomAttribute("System.Runtime.CompilerServices", "ForceLazyDictionaryAttribute");
Compiler\MetadataManager.cs (1)
624if (target.IsVirtual)
Compiler\SubstitutedILProvider.cs (3)
743if (opcode == ILOpcode.callvirt && callee.IsVirtual) 815&& ((opcode != ILOpcode.callvirt && !method.Signature.IsStatic) || !method.IsVirtual)) 820if (((opcode != ILOpcode.callvirt && !method.Signature.IsStatic) || !method.IsVirtual)
Compiler\TypePreinit.cs (1)
528if (!owningType.IsValueType && (method.IsVirtual || methodParams[0] == null))
Compiler\UsageBasedMetadataManager.cs (2)
597if (target.IsVirtual) 624Debug.Assert(decl.IsVirtual
IL\ILImporter.Scanner.cs (3)
808Debug.Assert(targetMethod.IsVirtual && targetMethod.OwningType.IsInterface); 984Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 993Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null);
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (1)
34Debug.Assert(method.IsVirtual);
parent\parent\Common\Compiler\DependencyAnalysis\VirtualMethodUseNode.cs (1)
31Debug.Assert(decl.IsVirtual);
parent\parent\Common\Compiler\DevirtualizationManager.cs (1)
58Debug.Assert(declMethod.IsVirtual);
parent\parent\Common\Compiler\MethodExtensions.cs (1)
177if (!method.IsVirtual)
parent\parent\Common\Compiler\TypeExtensions.cs (1)
601else if (genInterfaceMethod.IsVirtual)
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (1)
290if (!interfaceMethod.IsVirtual
ILCompiler.ReadyToRun (24)
Compiler\DependencyAnalysis\InheritedVirtualMethodsNode.cs (1)
129if (implMethod.IsVirtual && !implMethod.IsFinal && !implMethod.OwningType.IsInterface)
Compiler\DependencyAnalysis\ReadyToRun\DelegateCtorSignature.cs (1)
46if (_targetMethod.Method.IsVirtual && _targetMethod.Method.Signature.IsStatic)
Compiler\DependencyAnalysis\ReadyToRun\MethodFixupSignature.cs (2)
79Method.IsVirtual && 99Method.IsVirtual &&
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (3)
388if (!methodDecl.IsVirtual) 407if (isStatic && methodBody.IsVirtual) 413if (!isStatic && !methodBody.IsVirtual)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (3)
167&& method.IsVirtual 258Debug.Assert(method.IsVirtual); 268Debug.Assert(method.IsVirtual);
Compiler\ReadyToRunCodegenCompilation.cs (1)
104if (callee.IsVirtual)
Compiler\ReadyToRunVisibilityRootProvider.cs (1)
90if (!anyMethodImplRecordsForMethod && !method.IsVirtual)
JitInterface\CorInfoImpl.ReadyToRun.cs (5)
1980bool isStaticVirtual = (originalMethod.Signature.IsStatic && originalMethod.IsVirtual); 2162devirt = !targetMethod.IsVirtual; 2192devirt = !targetMethod.IsVirtual || targetMethod.IsFinal || targetMethod.OwningType.IsSealed(); 2521else if (!originalMethod.IsVirtual && originalMethod.Context.GetWellKnownType(WellKnownType.Object) == originalMethod.OwningType) 3059&& md.IsVirtual)
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (1)
34Debug.Assert(method.IsVirtual);
parent\parent\Common\Compiler\DependencyAnalysis\VirtualMethodUseNode.cs (1)
31Debug.Assert(decl.IsVirtual);
parent\parent\Common\Compiler\DevirtualizationManager.cs (1)
58Debug.Assert(declMethod.IsVirtual);
parent\parent\Common\Compiler\MethodExtensions.cs (1)
177if (!method.IsVirtual)
parent\parent\Common\Compiler\TypeExtensions.cs (1)
601else if (genInterfaceMethod.IsVirtual)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
1152if (method.IsVirtual)
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (1)
290if (!interfaceMethod.IsVirtual
ILCompiler.RyuJit (6)
JitInterface\CorInfoImpl.RyuJit.cs (5)
403Debug.Assert(targetMethod.IsVirtual && targetMethod.Signature.IsStatic 841if (method.IsVirtual && 1338Debug.Assert(targetMethod.IsVirtual && targetMethod.OwningType.IsInterface); 1557Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && constrainedType != null); 1565Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && constrainedType != null);
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
1152if (method.IsVirtual)
ILCompiler.TypeSystem (5)
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
95return _methodDef.IsVirtual;
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
35public override bool IsVirtual => _wrappedMethod.IsVirtual;
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
88return _typicalMethodDef.IsVirtual;
parent\parent\Common\TypeSystem\Common\TypeDesc.cs (1)
515if (method.IsVirtual)
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
36public override bool IsVirtual => _typicalMethodDef.IsVirtual;