63 references to IsMetadataVirtualOption
Microsoft.CodeAnalysis.CSharp (63)
Emitter\Model\MethodSymbolAdapter.cs (3)
661
/// option: <see cref="
IsMetadataVirtualOption
.IgnoreInterfaceImplementationChanges"/> if you need a value sooner
669
internal abstract bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None);
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (2)
57
internal override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Lowering\MethodToClassRewriter.cs (2)
238
Debug.Assert(rewrittenMethodSymbol.IsMetadataVirtual(MethodSymbol.
IsMetadataVirtualOption
.ForceCompleteIfNeeded)
239
== node.Method.IsMetadataVirtual(MethodSymbol.
IsMetadataVirtualOption
.ForceCompleteIfNeeded));
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.ConstructorSymbol.cs (2)
73
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.EqualsMethodSymbol.cs (2)
58
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.GetHashCodeMethodSymbol.cs (2)
62
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertyAccessorSymbol.cs (2)
73
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.ToStringMethodSymbol.cs (2)
62
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\ErrorMethodSymbol.cs (2)
219
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
849
internal override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None) => false;
Symbols\Metadata\PE\PEMethodSymbol.cs (2)
598
internal override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None) => HasFlag(MethodAttributes.Virtual);
Symbols\MethodSymbolExtensions.cs (1)
46
method.ParameterCount != 0 || method.Arity != 0 || !method.IsMetadataVirtual(MethodSymbol.
IsMetadataVirtualOption
.IgnoreInterfaceImplementationChanges))
Symbols\OverriddenOrHiddenMembersHelpers.cs (2)
1019
const MethodSymbol.
IsMetadataVirtualOption
ignoreInterfaceImplementationChanges = MethodSymbol.
IsMetadataVirtualOption
.IgnoreInterfaceImplementationChanges;
Symbols\ReducedExtensionMethodSymbol.cs (2)
426
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\SignatureOnlyMethodSymbol.cs (2)
165
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None) { throw ExceptionUtilities.Unreachable(); }
Symbols\Source\LambdaSymbol.cs (2)
117
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Source\LocalFunctionSymbol.cs (2)
382
internal override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None) => false;
Symbols\Source\SourceDestructorSymbol.cs (2)
157
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1841
else if (implementingMethod.IsMetadataVirtual(MethodSymbol.
IsMetadataVirtualOption
.IgnoreInterfaceImplementationChanges))
Symbols\Source\SourceMemberMethodSymbol.cs (6)
557
!this.IsStatic && this.IsMetadataVirtual(ignoreInterfaceImplementationChanges ?
IsMetadataVirtualOption
.IgnoreInterfaceImplementationChanges :
IsMetadataVirtualOption
.None);
561
internal override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
564
if (option ==
IsMetadataVirtualOption
.ForceCompleteIfNeeded && !this.flags.IsMetadataVirtualLocked)
570
return this.flags.IsMetadataVirtual(ignoreInterfaceImplementationChanges: option ==
IsMetadataVirtualOption
.IgnoreInterfaceImplementationChanges);
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (2)
80
internal override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (2)
232
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (2)
294
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Synthesized\SynthesizedImplementationMethod.cs (2)
226
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (2)
243
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (2)
228
internal override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (2)
100
internal override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (2)
310
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Synthesized\SynthesizedStaticConstructor.cs (2)
317
internal sealed override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)
Symbols\Wrapped\WrappedMethodSymbol.cs (2)
189
internal override bool IsMetadataVirtual(
IsMetadataVirtualOption
option =
IsMetadataVirtualOption
.None)