42 references to OmittedTypeArgument
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (2)
783case SyntaxKind.OmittedTypeArgument: 7987if (!boundMethodGroup.HasErrors && typeArgumentsSyntax.Any(SyntaxKind.OmittedTypeArgument))
Binder\Binder_Symbols.cs (4)
467case SyntaxKind.OmittedTypeArgument: 1362var arg = typeArgument.Kind() == SyntaxKind.OmittedTypeArgument 1374if (typeArgumentsSyntax.Any(SyntaxKind.OmittedTypeArgument)) 1427if (!hasErrors && lookupResult.IsMultiViable && typeArgumentsSyntax.Any(SyntaxKind.OmittedTypeArgument))
Compilation\CSharpSemanticModel.cs (1)
100case SyntaxKind.OmittedTypeArgument:
Syntax\GenericNameSyntax.cs (1)
19return this.TypeArgumentList.Arguments.Any(SyntaxKind.OmittedTypeArgument);
Syntax\SyntaxExtensions.cs (1)
479case SyntaxKind.OmittedTypeArgument:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseUnboundGenericTypeInNameOf\CSharpUseUnboundGenericTypeInNameOfDiagnosticAnalyzer.cs (1)
72if (argument.Kind() != SyntaxKind.OmittedTypeArgument)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UseUnboundGenericTypeInNameOf\CSharpUseUnboundGenericTypeInNameOfCodeFixProvider.cs (1)
58if (typeArgumentList.Arguments.Any(a => a.Kind() != SyntaxKind.OmittedTypeArgument))
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\SyntaxComparer.cs (1)
515case SyntaxKind.OmittedTypeArgument:
src\Analyzers\CSharp\Analyzers\UseUnboundGenericTypeInNameOf\CSharpUseUnboundGenericTypeInNameOfDiagnosticAnalyzer.cs (1)
72if (argument.Kind() != SyntaxKind.OmittedTypeArgument)
src\Analyzers\CSharp\CodeFixes\UseUnboundGenericTypeInNameOf\CSharpUseUnboundGenericTypeInNameOfCodeFixProvider.cs (1)
58if (typeArgumentList.Arguments.Any(a => a.Kind() != SyntaxKind.OmittedTypeArgument))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (26)
Parsing\CollectionExpressionParsingTests.cs (3)
5527N(SyntaxKind.OmittedTypeArgument); 5558N(SyntaxKind.OmittedTypeArgument); 5563N(SyntaxKind.OmittedTypeArgument);
Parsing\NameParsingTests.cs (9)
881N(SyntaxKind.OmittedTypeArgument); 886N(SyntaxKind.OmittedTypeArgument); 979N(SyntaxKind.OmittedTypeArgument); 984N(SyntaxKind.OmittedTypeArgument); 1112N(SyntaxKind.OmittedTypeArgument); 1232N(SyntaxKind.OmittedTypeArgument); 1382N(SyntaxKind.OmittedTypeArgument); 1396N(SyntaxKind.OmittedTypeArgument); 1401N(SyntaxKind.OmittedTypeArgument);
Parsing\SeparatedSyntaxListParsingTests.cs (14)
78N(SyntaxKind.OmittedTypeArgument); 126N(SyntaxKind.OmittedTypeArgument); 131N(SyntaxKind.OmittedTypeArgument); 184N(SyntaxKind.OmittedTypeArgument); 189N(SyntaxKind.OmittedTypeArgument); 194N(SyntaxKind.OmittedTypeArgument); 374N(SyntaxKind.OmittedTypeArgument); 414N(SyntaxKind.OmittedTypeArgument); 419N(SyntaxKind.OmittedTypeArgument); 466N(SyntaxKind.OmittedTypeArgument); 499N(SyntaxKind.OmittedTypeArgument); 546N(SyntaxKind.OmittedTypeArgument); 551N(SyntaxKind.OmittedTypeArgument); 595N(SyntaxKind.OmittedTypeArgument);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Simplification\Simplifiers\NameSimplifier.cs (2)
288if (oldType.Kind() == SyntaxKind.OmittedTypeArgument) 630if (nullableType.ElementType.Kind() == SyntaxKind.OmittedTypeArgument)