20 references to IsSpan
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Conversions.cs (8)
486
Debug.Assert(destination.
IsSpan
() || destination.IsReadOnlySpan());
505
if (source.Type.
IsSpan
())
517
if (source.Type.
IsSpan
() || source.Type.IsReadOnlySpan())
525
TypeSymbol sourceForCastUp = source.Type.
IsSpan
()
576
Debug.Assert(type.
IsSpan
() || type.IsReadOnlySpan());
586
Debug.Assert(spanType.
IsSpan
() && readonlySpanType.IsReadOnlySpan());
590
static (readonlySpanType, method) => method.Parameters[0].Type.
IsSpan
() &&
609
Debug.Assert(source.
IsSpan
() || source.IsReadOnlySpan());
Binder\Semantics\Conversions\ConversionsBase.cs (3)
3964
if (destination.
IsSpan
())
3979
else if (source.
IsSpan
() || source.IsReadOnlySpan())
4027
(destination.
IsSpan
() || destination.IsReadOnlySpan()))
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (8)
1717
target.
IsSpan
() &&
1718
(source.IsSZArray() || source.
IsSpan
())
1723
(source.IsSZArray() || source.
IsSpan
() || source.IsReadOnlySpan())
1738
Debug.Assert(type.
IsSpan
() || type.IsReadOnlySpan());
2129
target.
IsSpan
() &&
2130
(source.IsSZArray() || source.
IsSpan
())
2135
(source.IsSZArray() || source.
IsSpan
() || source.IsReadOnlySpan())
2144
if (!sourceElementType.Type.IsReferenceType || target.
IsSpan
())
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
646
if (sourceType.
IsSpan
())