13 references to IsInterpolatedStringHandler
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Conversions.cs (1)
85
!conversion.
IsInterpolatedStringHandler
&&
Binder\Binder_Expressions.cs (3)
3498
if (kind.
IsInterpolatedStringHandler
)
3678
Debug.Assert(interpolatedStringConversion.
IsInterpolatedStringHandler
);
5974
if (argument is BoundConversion { Conversion.
IsInterpolatedStringHandler
: true, Operand: var operand })
Binder\Semantics\Conversions\ConversionsBase.cs (1)
644
!conversion.
IsInterpolatedStringHandler
&&
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
2630
isInterpolatedStringHandlerConversion = c1.
IsInterpolatedStringHandler
&& c2.
IsInterpolatedStringHandler
;
4731
if (hasInterpolatedStringRefMismatch && !conversion.
IsInterpolatedStringHandler
)
Lowering\LocalRewriter\LocalRewriter.cs (1)
1122
return expr is BoundConversion { Conversion: {
IsInterpolatedStringHandler
: true }, Type: { IsValueType: true } };
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
251
Debug.Assert(arguments.All(arg => arg is not BoundConversion { Conversion: {
IsInterpolatedStringHandler
: true }, ExplicitCastInCode: false }));
Operations\CSharpOperationFactory.cs (1)
2419
Debug.Assert(conversion.Conversion.
IsInterpolatedStringHandler
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InterpolationTests.cs (1)
4613
Assert.True(semanticInfo.ImplicitConversion.
IsInterpolatedStringHandler
);
Semantics\RawInterpolationTests_Handler.cs (1)
2914
Assert.True(semanticInfo.ImplicitConversion.
IsInterpolatedStringHandler
);