13 references to HasFlag
Microsoft.CodeAnalysis.CSharp (13)
Symbols\Metadata\PE\PEMethodSymbol.cs (13)
462
internal override bool HasSpecialName =>
HasFlag
(MethodAttributes.SpecialName);
464
internal override bool HasRuntimeSpecialName =>
HasFlag
(MethodAttributes.RTSpecialName);
468
internal override bool RequiresSecurityObject =>
HasFlag
(MethodAttributes.RequireSecObject);
471
public override DllImportData GetDllImportData() =>
HasFlag
(MethodAttributes.PinvokeImpl)
481
internal override bool IsAccessCheckedOnOverride =>
HasFlag
(MethodAttributes.CheckAccessOnOverride);
483
internal override bool HasDeclarativeSecurity =>
HasFlag
(MethodAttributes.HasSecurity);
521
public override bool IsExtern =>
HasFlag
(MethodAttributes.PinvokeImpl);
558
public override bool IsAbstract =>
HasFlag
(MethodAttributes.Abstract);
572
public override bool HidesBaseMethodsByName => !
HasFlag
(MethodAttributes.HideBySig);
596
public override bool IsStatic =>
HasFlag
(MethodAttributes.Static);
598
internal override bool IsMetadataVirtual(IsMetadataVirtualOption option = IsMetadataVirtualOption.None) =>
HasFlag
(MethodAttributes.Virtual);
600
internal override bool IsMetadataNewSlot(bool ignoreInterfaceImplementationChanges = false) =>
HasFlag
(MethodAttributes.NewSlot);
602
internal override bool IsMetadataFinal =>
HasFlag
(MethodAttributes.Final);