12 references to RefKeyword
Microsoft.CodeAnalysis.CSharp (12)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1569
=> node.Update(VisitToken(node.
RefKeyword
), VisitToken(node.ReadOnlyKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"));
_generated\2\Syntax.xml.Syntax.Generated.cs (3)
1023
if (refKeyword != this.
RefKeyword
|| readOnlyKeyword != this.ReadOnlyKeyword || type != this.Type)
1034
public RefTypeSyntax WithReadOnlyKeyword(SyntaxToken readOnlyKeyword) => Update(this.
RefKeyword
, readOnlyKeyword, this.Type);
1035
public RefTypeSyntax WithType(TypeSyntax type) => Update(this.
RefKeyword
, this.ReadOnlyKeyword, type);
Binder\Binder_Deconstruct.cs (4)
833
diagnostics.Add(ErrorCode.ERR_DeconstructVariableCannotBeByRef, refType.
RefKeyword
.GetLocation());
893
diagnostics.Add(ErrorCode.ERR_DeconstructVariableCannotBeByRef, refType.
RefKeyword
.GetLocation());
943
diagnostics.Add(ErrorCode.ERR_UnexpectedToken, refType.
RefKeyword
.GetLocation(), refType.
RefKeyword
.ValueText);
Binder\Binder_Expressions.cs (2)
3340
diagnostics.Add(ErrorCode.ERR_UnexpectedToken, refType.
RefKeyword
.GetLocation(), refType.
RefKeyword
.ValueText);
Binder\Binder_Symbols.cs (1)
496
var refToken = refTypeSyntax.
RefKeyword
;
Syntax\SyntaxNodeExtensions.cs (1)
274
MessageID.IDS_FeatureRefLocalsReturns.CheckFeatureAvailability(diagnostics, refType.
RefKeyword
);