42 references to Add
Microsoft.CodeAnalysis.CSharp (42)
Parser\DirectiveParser.cs (1)
620
ids.
Add
(idExpression);
Parser\DocumentationCommentParser.cs (4)
1257
list.
Add
(ParseCrefParameter());
1380
list.
Add
(typeSyntax);
1543
dimensionList.
Add
(omittedArraySizeExpressionInstance);
1559
dimensionList.
Add
(omittedArraySizeExpressionInstance);
Parser\LanguageParser_Patterns.cs (1)
646
arms.
Add
(switchExpressionCase);
Parser\LanguageParser.cs (36)
2183
list.
Add
(this.CurrentToken.Kind == SyntaxKind.OpenParenToken
2194
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2213
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2264
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2269
bounds.
Add
(constraint);
2296
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2302
bounds.
Add
(constraint);
2401
bounds.
Add
(
5308
variables.
Add
(
5357
variables.
Add
(
5673
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5893
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6559
types.
Add
(omittedTypeArgumentInstance);
6563
types.
Add
(omittedTypeArgumentInstance);
6572
types.
Add
(this.ParseTypeArgument());
6606
types.
Add
(this.ParseTypeArgument());
7878
list.
Add
(omittedArraySizeExpressionInstance);
7885
list.
Add
(size);
7903
list.
Add
(omittedArraySizeExpressionInstance);
7930
list.
Add
(ParseTupleElement());
7935
list.
Add
(ParseTupleElement());
7943
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7948
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
8021
missingTypes.
Add
(missingType);
8048
types.
Add
(SyntaxFactory.FunctionPointerParameter(
8131
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10663
listOfDesignations.
Add
(ParseDesignation(forPattern));
10671
listOfDesignations.
Add
(ParseDesignation(forPattern));
12531
list.
Add
(this.ParseArgumentExpression(isIndexer));
12888
list.
Add
(firstArg);
12902
list.
Add
(argument);
12908
list.
Add
(_syntaxFactory.Argument(
14325
list.
Add
(this.ParseOrdering());
14337
list.
Add
(this.ParseOrdering());
14538
nodes.
Add
(node);
14578
nodes.
Add
(node);