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
(
5234
variables.
Add
(
5287
variables.
Add
(
5602
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5761
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6440
types.
Add
(omittedTypeArgumentInstance);
6444
types.
Add
(omittedTypeArgumentInstance);
6453
types.
Add
(this.ParseTypeArgument());
6492
types.
Add
(this.ParseTypeArgument());
7764
list.
Add
(omittedArraySizeExpressionInstance);
7771
list.
Add
(size);
7789
list.
Add
(omittedArraySizeExpressionInstance);
7816
list.
Add
(ParseTupleElement());
7821
list.
Add
(ParseTupleElement());
7829
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7834
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
7907
missingTypes.
Add
(missingType);
7934
types.
Add
(SyntaxFactory.FunctionPointerParameter(
8017
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10502
listOfDesignations.
Add
(ParseDesignation(forPattern));
10510
listOfDesignations.
Add
(ParseDesignation(forPattern));
12347
list.
Add
(this.ParseArgumentExpression(isIndexer));
12695
list.
Add
(firstArg);
12709
list.
Add
(argument);
12715
list.
Add
(_syntaxFactory.Argument(
14059
list.
Add
(this.ParseOrdering());
14071
list.
Add
(this.ParseOrdering());
14272
nodes.
Add
(node);
14312
nodes.
Add
(node);
Parser\LanguageParser_Patterns.cs (1)
621
arms.
Add
(switchExpressionCase);