6 references to IsReadOnlySpanType
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Operators.cs (1)
882return type is NamedTypeSymbol namedType && Compilation.IsReadOnlySpanType(namedType) &&
Compilation\BuiltInOperators.cs (1)
692Debug.Assert(_compilation.IsReadOnlySpanType(readonlySpanOfByte));
Compilation\CSharpCompilation.cs (1)
4422=> IsReadOnlySpanType(type) && ((NamedTypeSymbol)type).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].SpecialType == SpecialType.System_Byte;
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (3)
95Debug.Assert(_compilation.IsReadOnlySpanType(node.Type)); 637if (!_inExpressionLambda && _compilation.IsReadOnlySpanType(destinationType)) 1363if ((rewrittenOperand.Type.IsArray()) && _compilation.IsReadOnlySpanType(rewrittenType))