12 references to RefKindKeyword
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Crefs.cs (1)
1133RefKind refKind = parameter.RefKindKeyword.Kind().GetRefKind();
Syntax.xml.Main.Generated.cs (1)
2143=> node.Update(VisitToken(node.RefKindKeyword), VisitToken(node.ReadOnlyKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"));
Syntax.xml.Syntax.Generated.cs (3)
14757if (refKindKeyword != this.RefKindKeyword || readOnlyKeyword != this.ReadOnlyKeyword || type != this.Type) 14768public CrefParameterSyntax WithReadOnlyKeyword(SyntaxToken readOnlyKeyword) => Update(this.RefKindKeyword, readOnlyKeyword, this.Type); 14769public CrefParameterSyntax WithType(TypeSyntax type) => Update(this.RefKindKeyword, this.ReadOnlyKeyword, type);
Syntax\CrefParameterSyntax.cs (2)
12/// Pre C# 7.2 back-compat overload, which simply calls the replacement property <see cref="RefKindKeyword"/>. 15public SyntaxToken RefOrOutKeyword => this.RefKindKeyword;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
DocumentationComments\CrefTests.cs (3)
6669Assert.Equal(SyntaxKind.InKeyword, parameter.RefKindKeyword.Kind()); 6712Assert.Equal(SyntaxKind.RefKeyword, parameter.RefKindKeyword.Kind()); 6862Assert.Equal(SyntaxKind.RefKeyword, parameter.RefKindKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
13814Assert.Equal(SyntaxKind.None, node.RefKindKeyword.Kind()); 13817var newNode = node.WithRefKindKeyword(node.RefKindKeyword).WithReadOnlyKeyword(node.ReadOnlyKeyword).WithType(node.Type);