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
(
5254
variables.
Add
(
5307
variables.
Add
(
5622
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5842
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6521
types.
Add
(omittedTypeArgumentInstance);
6525
types.
Add
(omittedTypeArgumentInstance);
6534
types.
Add
(this.ParseTypeArgument());
6573
types.
Add
(this.ParseTypeArgument());
7845
list.
Add
(omittedArraySizeExpressionInstance);
7852
list.
Add
(size);
7870
list.
Add
(omittedArraySizeExpressionInstance);
7897
list.
Add
(ParseTupleElement());
7902
list.
Add
(ParseTupleElement());
7910
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7915
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
7988
missingTypes.
Add
(missingType);
8015
types.
Add
(SyntaxFactory.FunctionPointerParameter(
8098
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10612
listOfDesignations.
Add
(ParseDesignation(forPattern));
10620
listOfDesignations.
Add
(ParseDesignation(forPattern));
12472
list.
Add
(this.ParseArgumentExpression(isIndexer));
12820
list.
Add
(firstArg);
12834
list.
Add
(argument);
12840
list.
Add
(_syntaxFactory.Argument(
14211
list.
Add
(this.ParseOrdering());
14223
list.
Add
(this.ParseOrdering());
14424
nodes.
Add
(node);
14464
nodes.
Add
(node);
Parser\LanguageParser_Patterns.cs (1)
646
arms.
Add
(switchExpressionCase);