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)
2145
list.
Add
(this.CurrentToken.Kind == SyntaxKind.OpenParenToken
2161
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2180
list.
Add
(_syntaxFactory.SimpleBaseType(this.ParseType()));
2231
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2236
bounds.
Add
(constraint);
2263
bounds.
Add
(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected)));
2269
bounds.
Add
(constraint);
2368
bounds.
Add
(
5309
variables.
Add
(
5362
variables.
Add
(
5678
args.
Add
(_syntaxFactory.Argument(null, refKindKeyword: null, expression));
5898
tmpList.
Add
(_syntaxFactory.SimpleBaseType(type));
6577
types.
Add
(omittedTypeArgumentInstance);
6581
types.
Add
(omittedTypeArgumentInstance);
6590
types.
Add
(this.ParseTypeArgument());
6629
types.
Add
(this.ParseTypeArgument());
7901
list.
Add
(omittedArraySizeExpressionInstance);
7908
list.
Add
(size);
7926
list.
Add
(omittedArraySizeExpressionInstance);
7953
list.
Add
(ParseTupleElement());
7958
list.
Add
(ParseTupleElement());
7966
list.
Add
(_syntaxFactory.TupleElement(this.CreateMissingIdentifierName(), identifier: null));
7971
list.
Add
(_syntaxFactory.TupleElement(missing, identifier: null));
8044
missingTypes.
Add
(missingType);
8071
types.
Add
(SyntaxFactory.FunctionPointerParameter(
8154
callingConventionModifiers.
Add
(SyntaxFactory.FunctionPointerUnmanagedCallingConvention(EatToken(SyntaxKind.IdentifierToken)));
10668
listOfDesignations.
Add
(ParseDesignation(forPattern));
10676
listOfDesignations.
Add
(ParseDesignation(forPattern));
12528
list.
Add
(this.ParseArgumentExpression(isIndexer));
12876
list.
Add
(firstArg);
12890
list.
Add
(argument);
12896
list.
Add
(_syntaxFactory.Argument(
14267
list.
Add
(this.ParseOrdering());
14279
list.
Add
(this.ParseOrdering());
14480
nodes.
Add
(node);
14520
nodes.
Add
(node);
Parser\LanguageParser_Patterns.cs (1)
646
arms.
Add
(switchExpressionCase);