27 writes to DisableOrRestoreKind
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (27)
LexicalAndXml\PreprocessorTests.cs (27)
3677
DisableOrRestoreKind
= SyntaxKind.DisableKeyword,
3694
DisableOrRestoreKind
= SyntaxKind.DisableKeyword
3709
DisableOrRestoreKind
= SyntaxKind.EnableKeyword,
3725
DisableOrRestoreKind
= SyntaxKind.DisableKeyword,
3741
DisableOrRestoreKind
= SyntaxKind.EnableKeyword,
3758
DisableOrRestoreKind
= SyntaxKind.EnableKeyword,
3774
DisableOrRestoreKind
= SyntaxKind.DisableKeyword,
3790
DisableOrRestoreKind
= SyntaxKind.DisableKeyword,
3806
DisableOrRestoreKind
= SyntaxKind.DisableKeyword,
3822
DisableOrRestoreKind
= SyntaxKind.EnableKeyword,
3838
DisableOrRestoreKind
= SyntaxKind.EnableKeyword,
3854
DisableOrRestoreKind
= SyntaxKind.EnableKeyword,
3885
DisableOrRestoreKind
= SyntaxKind.DisableKeyword,
3910
DisableOrRestoreKind
= SyntaxKind.DisableKeyword,
3926
DisableOrRestoreKind
= SyntaxKind.RestoreKeyword,
3942
DisableOrRestoreKind
= SyntaxKind.RestoreKeyword,
3958
DisableOrRestoreKind
= SyntaxKind.RestoreKeyword,
3974
DisableOrRestoreKind
= SyntaxKind.RestoreKeyword,
3991
DisableOrRestoreKind
= SyntaxKind.RestoreKeyword,
4008
DisableOrRestoreKind
= SyntaxKind.None,
4024
DisableOrRestoreKind
= SyntaxKind.None
4040
DisableOrRestoreKind
= SyntaxKind.None
4055
DisableOrRestoreKind
= SyntaxKind.DisableKeyword
4070
DisableOrRestoreKind
= SyntaxKind.EnableKeyword
4085
DisableOrRestoreKind
= SyntaxKind.RestoreKeyword
4101
DisableOrRestoreKind
= SyntaxKind.None
4117
DisableOrRestoreKind
= SyntaxKind.None
2 references to DisableOrRestoreKind
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
LexicalAndXml\PreprocessorTests.cs (2)
318
if (SyntaxKind.None == expected.
DisableOrRestoreKind
)
324
Assert.Equal(expected.
DisableOrRestoreKind
, pwd.DisableOrRestoreKeyword.Kind());