6 references to VarKeyword
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Patterns.cs (2)
1553
Symbol foundSymbol = BindTypeOrAliasOrKeyword(node.
VarKeyword
, node, diagnostics, out bool isVar).Symbol;
1557
diagnostics.Add(ErrorCode.ERR_VarMayNotBindToType, node.
VarKeyword
.GetLocation(), foundSymbol.ToDisplayString());
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Syntax.xml.Main.Generated.cs (1)
1805
=> node.Update(VisitToken(node.
VarKeyword
), (VariableDesignationSyntax?)Visit(node.Designation) ?? throw new ArgumentNullException("designation"));
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Syntax.xml.Syntax.Generated.cs (2)
5414
if (varKeyword != this.
VarKeyword
|| designation != this.Designation)
5425
public VarPatternSyntax WithDesignation(VariableDesignationSyntax designation) => Update(this.
VarKeyword
, designation);
Microsoft.CodeAnalysis.CSharp.Features (1)
InlineHints\CSharpInlineTypeHintsService.cs (1)
58
? CreateTypeHint(type, varPattern.
VarKeyword
, variableDesignation.Identifier)