44 references to Interpolation
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_InterpolatedString.cs (1)
60case SyntaxKind.Interpolation:
Syntax\SyntaxNormalizer.cs (4)
320if (parent.IsKind(SyntaxKind.Interpolation) || 337if (parent.IsKind(SyntaxKind.Interpolation) || 353parent.IsKind(SyntaxKind.Interpolation) || 369currentTokenParent.IsKind(SyntaxKind.Interpolation) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
586case SyntaxKind.Interpolation:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (2)
173if (nodeParent.IsKind(SyntaxKind.Interpolation)) 329if (ancestor.IsKind(SyntaxKind.Interpolation, out interpolation))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
521=> currentToken.Parent.IsKind(SyntaxKind.Interpolation);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
171public int Interpolation => (int)SyntaxKind.Interpolation;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
514if (castNode.IsParentKind(SyntaxKind.Interpolation) && originalConversionOperation.Type?.SpecialType is SpecialType.System_Object)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.cs (1)
126node.IsKind(SyntaxKind.Interpolation))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
179(token.IsKind(SyntaxKind.CloseBraceToken) && token.Parent.IsKind(SyntaxKind.Interpolation)))
Microsoft.CodeAnalysis.CSharp.Features (3)
BraceCompletion\CurlyBraceCompletionService.cs (1)
48=> token.IsKind(SyntaxKind.OpenBraceToken) && !token.Parent.IsKind(SyntaxKind.Interpolation);
BraceCompletion\InterpolationBraceCompletionService.cs (1)
42=> token.IsKind(SyntaxKind.OpenBraceToken) && token.Parent.IsKind(SyntaxKind.Interpolation);
SplitStringLiteral\StringSplitter.cs (1)
73token.Parent.IsKind(SyntaxKind.Interpolation) &&
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (20)
Parsing\CollectionExpressionParsingTests.cs (2)
7337N(SyntaxKind.Interpolation); 7378N(SyntaxKind.Interpolation);
Parsing\ExpressionParsingTests.cs (10)
67N(SyntaxKind.Interpolation); 100N(SyntaxKind.Interpolation); 139N(SyntaxKind.Interpolation); 174N(SyntaxKind.Interpolation); 281N(SyntaxKind.Interpolation); 327N(SyntaxKind.Interpolation); 368N(SyntaxKind.Interpolation); 4978N(SyntaxKind.Interpolation); 5006N(SyntaxKind.Interpolation); 5039N(SyntaxKind.Interpolation);
Parsing\FieldKeywordParsingTests.cs (8)
1942N(SyntaxKind.Interpolation); 1993N(SyntaxKind.Interpolation); 2052N(SyntaxKind.Interpolation); 2111N(SyntaxKind.Interpolation); 2188N(SyntaxKind.Interpolation); 2248N(SyntaxKind.Interpolation); 2305N(SyntaxKind.Interpolation); 2369N(SyntaxKind.Interpolation);
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
586case SyntaxKind.Interpolation:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (2)
173if (nodeParent.IsKind(SyntaxKind.Interpolation)) 329if (ancestor.IsKind(SyntaxKind.Interpolation, out interpolation))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
521=> currentToken.Parent.IsKind(SyntaxKind.Interpolation);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
171public int Interpolation => (int)SyntaxKind.Interpolation;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
514if (castNode.IsParentKind(SyntaxKind.Interpolation) && originalConversionOperation.Type?.SpecialType is SpecialType.System_Object)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.cs (1)
126node.IsKind(SyntaxKind.Interpolation))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
179(token.IsKind(SyntaxKind.CloseBraceToken) && token.Parent.IsKind(SyntaxKind.Interpolation)))