22 references to VirtualnessModifiers
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (22)
Symbols\Metadata\PE\LoadingEvents.cs (22)
384
const
VirtualnessModifiers
@none =
VirtualnessModifiers
.None;
385
const
VirtualnessModifiers
@abstract =
VirtualnessModifiers
.Abstract;
386
const
VirtualnessModifiers
@virtual =
VirtualnessModifiers
.Virtual;
387
const
VirtualnessModifiers
@override =
VirtualnessModifiers
.Override;
388
const
VirtualnessModifiers
@sealed =
VirtualnessModifiers
.Sealed;
390
VirtualnessModifiers
[] modList = new[]
400
VirtualnessModifiers
[,] expected = new
VirtualnessModifiers
[length, length];
441
foreach (
var
mod1 in modList)
443
foreach (
var
mod2 in modList)
606
private static
VirtualnessModifiers
GetVirtualnessModifiers(Symbol symbol)
608
VirtualnessModifiers
mods =
VirtualnessModifiers
.None;
610
if (symbol.IsAbstract) mods |=
VirtualnessModifiers
.Abstract;
611
if (symbol.IsVirtual) mods |=
VirtualnessModifiers
.Virtual;
613
if (symbol.IsSealed) mods |=
VirtualnessModifiers
.Sealed;
614
else if (symbol.IsOverride) mods |=
VirtualnessModifiers
.Override;