public static bool IsIntrinsicNumericType(this TypeSymbol type) { return type.Kind == SymbolKind.IntrinsicMatrixType || type.Kind == SymbolKind.IntrinsicScalarType || type.Kind == SymbolKind.IntrinsicVectorType; }