42 references to Add
Microsoft.CodeAnalysis.CSharp (42)
Parser\DirectiveParser.cs (1)
619
ids.
Add
(idExpression);
Parser\DocumentationCommentParser.cs (4)
1259
list.
Add
(ParseCrefParameter());
1382
list.
Add
(typeSyntax);
1545
dimensionList.
Add
(omittedArraySizeExpressionInstance);
1561
dimensionList.
Add
(omittedArraySizeExpressionInstance);
Parser\LanguageParser.cs (36)
2102
list.
Add
(this.CurrentToken.Kind == SyntaxKind.OpenParenToken
2118
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2137
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2188
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2193
bounds.
Add
(constraint);
2220
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2226
bounds.
Add
(constraint);
2325
bounds.
Add
(
5124
variables.
Add
(
5177
variables.
Add
(
5492
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5651
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6332
types.
Add
(omittedTypeArgumentInstance);
6336
types.
Add
(omittedTypeArgumentInstance);
6345
types.
Add
(this.ParseTypeArgument());
6384
types.
Add
(this.ParseTypeArgument());
7656
list.
Add
(omittedArraySizeExpressionInstance);
7663
list.
Add
(size);
7681
list.
Add
(omittedArraySizeExpressionInstance);
7712
list.
Add
(ParseTupleElement());
7717
list.
Add
(ParseTupleElement());
7725
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7730
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
7803
missingTypes.
Add
(missingType);
7830
types.
Add
(SyntaxFactory.FunctionPointerParameter(
7913
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10343
listOfDesignations.
Add
(ParseDesignation(forPattern));
10351
listOfDesignations.
Add
(ParseDesignation(forPattern));
12191
list.
Add
(this.ParseArgumentExpression(isIndexer));
12539
list.
Add
(firstArg);
12553
list.
Add
(argument);
12559
list.
Add
(_syntaxFactory.Argument(
13917
list.
Add
(this.ParseOrdering());
13929
list.
Add
(this.ParseOrdering());
14130
nodes.
Add
(node);
14165
nodes.
Add
(node);
Parser\LanguageParser_Patterns.cs (1)
621
arms.
Add
(switchExpressionCase);