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.cs (36)
2178
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
(
5347
variables.
Add
(
5400
variables.
Add
(
5716
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5936
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6615
types.
Add
(omittedTypeArgumentInstance);
6619
types.
Add
(omittedTypeArgumentInstance);
6628
types.
Add
(this.ParseTypeArgument());
6667
types.
Add
(this.ParseTypeArgument());
7939
list.
Add
(omittedArraySizeExpressionInstance);
7946
list.
Add
(size);
7964
list.
Add
(omittedArraySizeExpressionInstance);
7991
list.
Add
(ParseTupleElement());
7996
list.
Add
(ParseTupleElement());
8004
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
8009
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
8082
missingTypes.
Add
(missingType);
8109
types.
Add
(SyntaxFactory.FunctionPointerParameter(
8192
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10724
listOfDesignations.
Add
(ParseDesignation(forPattern));
10732
listOfDesignations.
Add
(ParseDesignation(forPattern));
12592
list.
Add
(this.ParseArgumentExpression(isIndexer));
12949
list.
Add
(firstArg);
12963
list.
Add
(argument);
12969
list.
Add
(_syntaxFactory.Argument(
14340
list.
Add
(this.ParseOrdering());
14352
list.
Add
(this.ParseOrdering());
14553
nodes.
Add
(node);
14593
nodes.
Add
(node);
Parser\LanguageParser_Patterns.cs (1)
646
arms.
Add
(switchExpressionCase);