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