2 references to WithDisableOrRestoreKeyword
Microsoft.CodeAnalysis.CSharp.Features (1)
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (1)
243
var newPragmaWarning = pragmaWarning.
WithDisableOrRestoreKeyword
(toggledToken);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
14193
var newNode = node.WithHashToken(node.HashToken).WithPragmaKeyword(node.PragmaKeyword).WithWarningKeyword(node.WarningKeyword).
WithDisableOrRestoreKeyword
(node.DisableOrRestoreKeyword).WithErrorCodes(node.ErrorCodes).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);