26 references to IsReadOnlySpan
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder_Conversions.cs (12)
486
Debug.Assert(destination.IsSpan() || destination.
IsReadOnlySpan
());
507
Debug.Assert(destination.
IsReadOnlySpan
());
517
if (source.Type.IsSpan() || source.Type.
IsReadOnlySpan
())
519
Debug.Assert(destination.
IsReadOnlySpan
());
576
Debug.Assert(type.IsSpan() || type.
IsReadOnlySpan
());
586
Debug.Assert(spanType.IsSpan() && readonlySpanType.
IsReadOnlySpan
());
609
Debug.Assert(source.IsSpan() || source.
IsReadOnlySpan
());
610
Debug.Assert(destination.
IsReadOnlySpan
());
618
Debug.Assert(!source.
IsReadOnlySpan
() || !sameElementTypes);
626
Debug.Assert(source.
IsReadOnlySpan
() && destination.
IsReadOnlySpan
());
654
Debug.Assert(readOnlySpanType.
IsReadOnlySpan
());
Binder\Semantics\Conversions\ConversionsBase.cs (5)
3971
if (destination.
IsReadOnlySpan
())
3979
else if (source.IsSpan() || source.
IsReadOnlySpan
())
3981
if (destination.
IsReadOnlySpan
())
3991
if (destination.
IsReadOnlySpan
())
4027
(destination.IsSpan() || destination.
IsReadOnlySpan
()))
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (5)
1722
target.
IsReadOnlySpan
() &&
1723
(source.IsSZArray() || source.IsSpan() || source.
IsReadOnlySpan
())
1738
Debug.Assert(type.IsSpan() || type.
IsReadOnlySpan
());
2134
target.
IsReadOnlySpan
() &&
2135
(source.IsSZArray() || source.IsSpan() || source.
IsReadOnlySpan
())
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
648
Debug.Assert(destinationType.
IsReadOnlySpan
());
678
if (sourceType.
IsReadOnlySpan
())
680
Debug.Assert(destinationType.
IsReadOnlySpan
());
699
Debug.Assert(destinationType.
IsReadOnlySpan
());