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