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)
2104
list.
Add
(this.CurrentToken.Kind == SyntaxKind.OpenParenToken
2120
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2139
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2190
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2195
bounds.
Add
(constraint);
2222
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2228
bounds.
Add
(constraint);
2327
bounds.
Add
(
5132
variables.
Add
(
5185
variables.
Add
(
5500
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5659
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6340
types.
Add
(omittedTypeArgumentInstance);
6344
types.
Add
(omittedTypeArgumentInstance);
6353
types.
Add
(this.ParseTypeArgument());
6392
types.
Add
(this.ParseTypeArgument());
7664
list.
Add
(omittedArraySizeExpressionInstance);
7671
list.
Add
(size);
7689
list.
Add
(omittedArraySizeExpressionInstance);
7716
list.
Add
(ParseTupleElement());
7721
list.
Add
(ParseTupleElement());
7729
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7734
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
7807
missingTypes.
Add
(missingType);
7834
types.
Add
(SyntaxFactory.FunctionPointerParameter(
7917
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10347
listOfDesignations.
Add
(ParseDesignation(forPattern));
10355
listOfDesignations.
Add
(ParseDesignation(forPattern));
12195
list.
Add
(this.ParseArgumentExpression(isIndexer));
12543
list.
Add
(firstArg);
12557
list.
Add
(argument);
12563
list.
Add
(_syntaxFactory.Argument(
13928
list.
Add
(this.ParseOrdering());
13940
list.
Add
(this.ParseOrdering());
14141
nodes.
Add
(node);
14181
nodes.
Add
(node);
Parser\LanguageParser_Patterns.cs (1)
621
arms.
Add
(switchExpressionCase);