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