22 references to IsSpan
Microsoft.CodeAnalysis.CSharp (22)
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())
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
2986if (t1.IsReadOnlySpan() && t2.IsSpan()) 2991if (t1.IsSpan() && t2.IsReadOnlySpan())
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
646if (sourceType.IsSpan())