Skip to content

Preserve proxy type when cloning a record class proxy #370

Preserve proxy type when cloning a record class proxy

Preserve proxy type when cloning a record class proxy #370

Triggered via pull request February 4, 2026 22:12
Status Success
Total duration 3m 20s
Artifacts

build.yml

on: pull_request
Matrix: Build and test
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
Build and test (macos-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (macos-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (macos-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (macos-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (macos-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (macos-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (macos-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (macos-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (macos-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (macos-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (windows-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (windows-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (windows-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (windows-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (windows-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (windows-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (windows-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (windows-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (windows-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L81
Possible null reference argument for parameter 'interfaces' in 'ClassProxyWithTargetGenerator.ClassProxyWithTargetGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.
Build and test (windows-latest): src/Castle.Core/DynamicProxy/DefaultProxyBuilder.cs#L70
Possible null reference argument for parameter 'interfaces' in 'ClassProxyGenerator.ClassProxyGenerator(ModuleScope scope, Type targetType, Type[] interfaces, ProxyGenerationOptions options)'.