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)
2194
list.
Add
(this.CurrentToken.Kind == SyntaxKind.OpenParenToken
2205
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2224
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2275
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2280
bounds.
Add
(constraint);
2307
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2313
bounds.
Add
(constraint);
2412
bounds.
Add
(
5316
variables.
Add
(
5365
variables.
Add
(
5681
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5901
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6580
types.
Add
(omittedTypeArgumentInstance);
6584
types.
Add
(omittedTypeArgumentInstance);
6593
types.
Add
(this.ParseTypeArgument());
6627
types.
Add
(this.ParseTypeArgument());
7899
list.
Add
(omittedArraySizeExpressionInstance);
7906
list.
Add
(size);
7924
list.
Add
(omittedArraySizeExpressionInstance);
7951
list.
Add
(ParseTupleElement());
7956
list.
Add
(ParseTupleElement());
7964
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7969
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
8042
missingTypes.
Add
(missingType);
8069
types.
Add
(SyntaxFactory.FunctionPointerParameter(
8152
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10684
listOfDesignations.
Add
(ParseDesignation(forPattern));
10692
listOfDesignations.
Add
(ParseDesignation(forPattern));
12552
list.
Add
(this.ParseArgumentExpression(isIndexer));
12909
list.
Add
(firstArg);
12923
list.
Add
(argument);
12929
list.
Add
(_syntaxFactory.Argument(
14300
list.
Add
(this.ParseOrdering());
14312
list.
Add
(this.ParseOrdering());
14513
nodes.
Add
(node);
14553
nodes.
Add
(node);