44 references to Interpolation
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_InterpolatedString.cs (1)
60
case SyntaxKind.
Interpolation
:
Syntax\SyntaxNormalizer.cs (4)
320
if (parent.IsKind(SyntaxKind.
Interpolation
) ||
337
if (parent.IsKind(SyntaxKind.
Interpolation
) ||
353
parent.IsKind(SyntaxKind.
Interpolation
) ||
369
currentTokenParent.IsKind(SyntaxKind.
Interpolation
) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
586
case SyntaxKind.
Interpolation
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (2)
173
if (nodeParent.IsKind(SyntaxKind.
Interpolation
))
329
if (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)
171
public int Interpolation => (int)SyntaxKind.
Interpolation
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
514
if (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)
126
node.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)
73
token.Parent.IsKind(SyntaxKind.
Interpolation
) &&
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (20)
Parsing\CollectionExpressionParsingTests.cs (2)
7337
N(SyntaxKind.
Interpolation
);
7378
N(SyntaxKind.
Interpolation
);
Parsing\ExpressionParsingTests.cs (10)
67
N(SyntaxKind.
Interpolation
);
100
N(SyntaxKind.
Interpolation
);
139
N(SyntaxKind.
Interpolation
);
174
N(SyntaxKind.
Interpolation
);
281
N(SyntaxKind.
Interpolation
);
327
N(SyntaxKind.
Interpolation
);
368
N(SyntaxKind.
Interpolation
);
4978
N(SyntaxKind.
Interpolation
);
5006
N(SyntaxKind.
Interpolation
);
5039
N(SyntaxKind.
Interpolation
);
Parsing\FieldKeywordParsingTests.cs (8)
1942
N(SyntaxKind.
Interpolation
);
1993
N(SyntaxKind.
Interpolation
);
2052
N(SyntaxKind.
Interpolation
);
2111
N(SyntaxKind.
Interpolation
);
2188
N(SyntaxKind.
Interpolation
);
2248
N(SyntaxKind.
Interpolation
);
2305
N(SyntaxKind.
Interpolation
);
2369
N(SyntaxKind.
Interpolation
);
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
586
case SyntaxKind.
Interpolation
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (2)
173
if (nodeParent.IsKind(SyntaxKind.
Interpolation
))
329
if (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)
171
public int Interpolation => (int)SyntaxKind.
Interpolation
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
514
if (castNode.IsParentKind(SyntaxKind.
Interpolation
) && originalConversionOperation.Type?.SpecialType is SpecialType.System_Object)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.cs (1)
126
node.IsKind(SyntaxKind.
Interpolation
))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
179
(token.IsKind(SyntaxKind.CloseBraceToken) && token.Parent.IsKind(SyntaxKind.
Interpolation
)))