7 references to IsStringType
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Conversions.cs (1)
621
if (source.Type.
IsStringType
())
Binder\Semantics\Conversions\ConversionsBase.cs (1)
4009
else if (source.
IsStringType
())
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (3)
709
if (sourceType.
IsStringType
())
719
Debug.Assert(method.Parameters[0].Type.
IsStringType
());
720
Debug.Assert(rewrittenOperand.Type?.
IsStringType
() == true);
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
655
if (expr.Type.
IsStringType
())
Symbols\ConstantValueUtils.cs (1)
165
if (!(expression.Type is null) && expression.Type.
IsStringType
())