24 overrides of IsMetadataVirtual
Microsoft.CodeAnalysis.CSharp (24)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
57
internal override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.ConstructorSymbol.cs (1)
73
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.EqualsMethodSymbol.cs (1)
58
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.GetHashCodeMethodSymbol.cs (1)
62
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertyAccessorSymbol.cs (1)
73
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.ToStringMethodSymbol.cs (1)
62
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\ErrorMethodSymbol.cs (1)
219
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
849
internal override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None) => false;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
598
internal override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None) => HasFlag(MethodAttributes.Virtual);
Symbols\ReducedExtensionMethodSymbol.cs (1)
426
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\SignatureOnlyMethodSymbol.cs (1)
165
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None) { throw ExceptionUtilities.Unreachable(); }
Symbols\Source\LambdaSymbol.cs (1)
117
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Source\LocalFunctionSymbol.cs (1)
382
internal override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None) => false;
Symbols\Source\SourceMemberMethodSymbol.cs (1)
561
internal override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
80
internal override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
232
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
294
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
226
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
243
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
228
internal override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
100
internal override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
310
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
317
internal sealed override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
189
internal override bool
IsMetadataVirtual
(IsMetadataVirtualOption option = IsMetadataVirtualOption.None)
16 references to IsMetadataVirtual
Microsoft.CodeAnalysis.CSharp (16)
CodeGen\EmitConversion.cs (1)
354
if (!method.IsStatic && method.
IsMetadataVirtual
() && !method.ContainingType.IsDelegateType() && !receiver.SuppressVirtualCalls)
CodeGen\EmitExpression.cs (3)
1841
(!method.
IsMetadataVirtual
() && CanUseCallOnRefTypeReceiver(receiver)))
1881
if (method.
IsMetadataVirtual
())
2301
if (!method.
IsMetadataVirtual
() || method.IsStatic)
Emitter\Model\MethodSymbolAdapter.cs (3)
485
return AdaptedMethodSymbol.
IsMetadataVirtual
();
601
&& this.
IsMetadataVirtual
() && !this.IsMetadataFinal;
650
(this.
IsMetadataVirtual
() &&
Lowering\MethodToClassRewriter.cs (4)
238
Debug.Assert(rewrittenMethodSymbol.
IsMetadataVirtual
(MethodSymbol.IsMetadataVirtualOption.ForceCompleteIfNeeded)
239
== node.Method.
IsMetadataVirtual
(MethodSymbol.IsMetadataVirtualOption.ForceCompleteIfNeeded));
244
if (BaseReferenceInReceiverWasRewritten(node.ReceiverOpt, rewrittenReceiver) && node.Method.
IsMetadataVirtual
())
592
if (BaseReferenceInReceiverWasRewritten(originalArgument, rewrittenArgument) && method!.
IsMetadataVirtual
())
Symbols\MethodSymbolExtensions.cs (1)
46
method.ParameterCount != 0 || method.Arity != 0 || !method.
IsMetadataVirtual
(MethodSymbol.IsMetadataVirtualOption.IgnoreInterfaceImplementationChanges))
Symbols\OverriddenOrHiddenMembersHelpers.cs (2)
1022
if (!method.
IsMetadataVirtual
(ignoreInterfaceImplementationChanges) || method.IsStatic)
1041
if (overridden.
IsMetadataVirtual
(ignoreInterfaceImplementationChanges))
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1841
else if (implementingMethod.
IsMetadataVirtual
(MethodSymbol.IsMetadataVirtualOption.IgnoreInterfaceImplementationChanges))
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
191
return UnderlyingMethod.
IsMetadataVirtual
(option);