22 references to VirtualnessModifiers
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (22)
Symbols\Metadata\PE\LoadingProperties.cs (22)
299
const
VirtualnessModifiers
@none =
VirtualnessModifiers
.None;
300
const
VirtualnessModifiers
@abstract =
VirtualnessModifiers
.Abstract;
301
const
VirtualnessModifiers
@virtual =
VirtualnessModifiers
.Virtual;
302
const
VirtualnessModifiers
@override =
VirtualnessModifiers
.Override;
303
const
VirtualnessModifiers
@sealed =
VirtualnessModifiers
.Sealed;
305
VirtualnessModifiers
[] modList = new[]
315
VirtualnessModifiers
[,] expected = new
VirtualnessModifiers
[length, length];
356
foreach (
var
mod1 in modList)
358
foreach (
var
mod2 in modList)
382
private static
VirtualnessModifiers
GetVirtualnessModifiers(Symbol symbol)
384
VirtualnessModifiers
mods =
VirtualnessModifiers
.None;
386
if (symbol.IsAbstract) mods |=
VirtualnessModifiers
.Abstract;
387
if (symbol.IsVirtual) mods |=
VirtualnessModifiers
.Virtual;
389
if (symbol.IsSealed) mods |=
VirtualnessModifiers
.Sealed;
390
else if (symbol.IsOverride) mods |=
VirtualnessModifiers
.Override;