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
(
5342
variables.
Add
(
5395
variables.
Add
(
5711
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5931
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6610
types.
Add
(omittedTypeArgumentInstance);
6614
types.
Add
(omittedTypeArgumentInstance);
6623
types.
Add
(this.ParseTypeArgument());
6662
types.
Add
(this.ParseTypeArgument());
7934
list.
Add
(omittedArraySizeExpressionInstance);
7941
list.
Add
(size);
7959
list.
Add
(omittedArraySizeExpressionInstance);
7986
list.
Add
(ParseTupleElement());
7991
list.
Add
(ParseTupleElement());
7999
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
8004
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
8077
missingTypes.
Add
(missingType);
8104
types.
Add
(SyntaxFactory.FunctionPointerParameter(
8187
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10701
listOfDesignations.
Add
(ParseDesignation(forPattern));
10709
listOfDesignations.
Add
(ParseDesignation(forPattern));
12565
list.
Add
(this.ParseArgumentExpression(isIndexer));
12913
list.
Add
(firstArg);
12927
list.
Add
(argument);
12933
list.
Add
(_syntaxFactory.Argument(
14304
list.
Add
(this.ParseOrdering());
14316
list.
Add
(this.ParseOrdering());
14517
nodes.
Add
(node);
14557
nodes.
Add
(node);
Parser\LanguageParser_Patterns.cs (1)
646
arms.
Add
(switchExpressionCase);