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
(
5305
variables.
Add
(
5354
variables.
Add
(
5670
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5890
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6556
types.
Add
(omittedTypeArgumentInstance);
6560
types.
Add
(omittedTypeArgumentInstance);
6569
types.
Add
(this.ParseTypeArgument());
6603
types.
Add
(this.ParseTypeArgument());
7875
list.
Add
(omittedArraySizeExpressionInstance);
7882
list.
Add
(size);
7900
list.
Add
(omittedArraySizeExpressionInstance);
7927
list.
Add
(ParseTupleElement());
7932
list.
Add
(ParseTupleElement());
7940
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7945
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
8018
missingTypes.
Add
(missingType);
8045
types.
Add
(SyntaxFactory.FunctionPointerParameter(
8128
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10660
listOfDesignations.
Add
(ParseDesignation(forPattern));
10668
listOfDesignations.
Add
(ParseDesignation(forPattern));
12528
list.
Add
(this.ParseArgumentExpression(isIndexer));
12885
list.
Add
(firstArg);
12899
list.
Add
(argument);
12905
list.
Add
(_syntaxFactory.Argument(
14322
list.
Add
(this.ParseOrdering());
14334
list.
Add
(this.ParseOrdering());
14535
nodes.
Add
(node);
14575
nodes.
Add
(node);