11 references to NullableKeyword
Microsoft.CodeAnalysis.CSharp (8)
Syntax.xml.Main.Generated.cs (1)
2245
=> node.Update(VisitToken(node.HashToken), VisitToken(node.
NullableKeyword
), VisitToken(node.SettingToken), VisitToken(node.TargetToken), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (6)
16750
if (hashToken != this.HashToken || nullableKeyword != this.
NullableKeyword
|| settingToken != this.SettingToken || targetToken != this.TargetToken || endOfDirectiveToken != this.EndOfDirectiveToken)
16761
public new NullableDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.
NullableKeyword
, this.SettingToken, this.TargetToken, this.EndOfDirectiveToken, this.IsActive);
16763
public NullableDirectiveTriviaSyntax WithSettingToken(SyntaxToken settingToken) => Update(this.HashToken, this.
NullableKeyword
, settingToken, this.TargetToken, this.EndOfDirectiveToken, this.IsActive);
16764
public NullableDirectiveTriviaSyntax WithTargetToken(SyntaxToken targetToken) => Update(this.HashToken, this.
NullableKeyword
, this.SettingToken, targetToken, this.EndOfDirectiveToken, this.IsActive);
16766
public new NullableDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.
NullableKeyword
, this.SettingToken, this.TargetToken, endOfDirectiveToken, this.IsActive);
16767
public NullableDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.
NullableKeyword
, this.SettingToken, this.TargetToken, this.EndOfDirectiveToken, isActive);
Syntax\DirectiveTriviaSyntax.cs (1)
62
return ((NullableDirectiveTriviaSyntax)this).
NullableKeyword
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
14275
Assert.Equal(SyntaxKind.NullableKeyword, node.
NullableKeyword
.Kind());
14280
var newNode = node.WithHashToken(node.HashToken).WithNullableKeyword(node.
NullableKeyword
).WithSettingToken(node.SettingToken).WithTargetToken(node.TargetToken).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
357
AddClassification(node.
NullableKeyword
, ClassificationTypeNames.PreprocessorKeyword);