6 references to VarKeyword
Microsoft.CodeAnalysis.CSharp (5)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1797=> node.Update(VisitToken(node.VarKeyword), (VariableDesignationSyntax?)Visit(node.Designation) ?? throw new ArgumentNullException("designation"));
_generated\2\Syntax.xml.Syntax.Generated.cs (2)
5361if (varKeyword != this.VarKeyword || designation != this.Designation) 5372public VarPatternSyntax WithDesignation(VariableDesignationSyntax designation) => Update(this.VarKeyword, designation);
Binder\Binder_Patterns.cs (2)
1950Symbol foundSymbol = BindTypeOrAliasOrKeyword(node.VarKeyword, node, diagnostics, out bool isVar).Symbol; 1954diagnostics.Add(ErrorCode.ERR_VarMayNotBindToType, node.VarKeyword.GetLocation(), foundSymbol.ToDisplayString());
Microsoft.CodeAnalysis.CSharp.Features (1)
InlineHints\CSharpInlineTypeHintsService.cs (1)
58? CreateTypeHint(type, varPattern.VarKeyword, variableDesignation.Identifier)