7 references to WithKeyword
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (2)
5351MessageID.IDS_FeatureCollectionExpressionArguments.CheckFeatureAvailability(diagnostics, syntax, withElementSyntax.WithKeyword.GetLocation()); 5488diagnostics.Add(ErrorCode.ERR_CollectionArgumentsMustBeFirst, withElementSyntax.WithKeyword);
Syntax.xml.Main.Generated.cs (1)
1726=> node.Update(VisitToken(node.WithKeyword), (ArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList"));
Syntax.xml.Syntax.Generated.cs (2)
4304if (withKeyword != this.WithKeyword || argumentList != this.ArgumentList) 4315public WithElementSyntax WithArgumentList(ArgumentListSyntax argumentList) => Update(this.WithKeyword, argumentList);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
11992Assert.Equal(SyntaxKind.WithKeyword, node.WithKeyword.Kind()); 11994var newNode = node.WithWithKeyword(node.WithKeyword).WithArgumentList(node.ArgumentList);