34 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)
CastSimplifier.cs (1)
470
if (castNode.IsParentKind(SyntaxKind.
Interpolation
) && originalConversionOperation.Type?.SpecialType is SpecialType.System_Object)
CSharpSyntaxKinds.cs (1)
159
public int Interpolation => (int)SyntaxKind.
Interpolation
;
ExpressionSyntaxExtensions.cs (1)
571
case SyntaxKind.
Interpolation
:
FormattingHelpers.cs (1)
519
=> currentToken.Parent.IsKind(SyntaxKind.
Interpolation
);
ParenthesizedExpressionSyntaxExtensions.cs (2)
179
if (nodeParent.IsKind(SyntaxKind.
Interpolation
))
332
if (ancestor.IsKind(SyntaxKind.
Interpolation
, out interpolation))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
CSharpIndentationService.cs (1)
128
node.IsKind(SyntaxKind.
Interpolation
))
CSharpIndentationService.Indenter.cs (1)
180
(token.IsKind(SyntaxKind.CloseBraceToken) && token.Parent.IsKind(SyntaxKind.
Interpolation
)))
Microsoft.CodeAnalysis.CSharp.Features (3)
BraceCompletion\CurlyBraceCompletionService.cs (1)
56
=> token.IsKind(SyntaxKind.OpenBraceToken) && !token.Parent.IsKind(SyntaxKind.
Interpolation
);
BraceCompletion\InterpolationBraceCompletionService.cs (1)
47
=> token.IsKind(SyntaxKind.OpenBraceToken) && token.Parent.IsKind(SyntaxKind.
Interpolation
);
SplitStringLiteral\StringSplitter.cs (1)
85
token.Parent.IsKind(SyntaxKind.
Interpolation
) &&
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
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
);
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
CastSimplifier.cs (1)
470
if (castNode.IsParentKind(SyntaxKind.
Interpolation
) && originalConversionOperation.Type?.SpecialType is SpecialType.System_Object)
CSharpIndentationService.cs (1)
128
node.IsKind(SyntaxKind.
Interpolation
))
CSharpIndentationService.Indenter.cs (1)
180
(token.IsKind(SyntaxKind.CloseBraceToken) && token.Parent.IsKind(SyntaxKind.
Interpolation
)))
CSharpSyntaxKinds.cs (1)
159
public int Interpolation => (int)SyntaxKind.
Interpolation
;
FormattingHelpers.cs (1)
519
=> currentToken.Parent.IsKind(SyntaxKind.
Interpolation
);
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs\ExpressionSyntaxExtensions.cs (1)
571
case SyntaxKind.
Interpolation
:
ParenthesizedExpressionSyntaxExtensions.cs (2)
179
if (nodeParent.IsKind(SyntaxKind.
Interpolation
))
332
if (ancestor.IsKind(SyntaxKind.
Interpolation
, out interpolation))