Skip to content

Commit fbab197

Browse files
committed
Update ref/ contract files
1 parent 432a7f6 commit fbab197

2 files changed

Lines changed: 47 additions & 0 deletions

File tree

ref/Castle.Core-net8.0.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2422,6 +2422,15 @@ public virtual void MethodsInspected() { }
24222422
public virtual void NonProxyableMemberNotification(System.Type type, System.Reflection.MemberInfo memberInfo) { }
24232423
public virtual bool ShouldInterceptMethod(System.Type type, System.Reflection.MethodInfo methodInfo) { }
24242424
}
2425+
public class ByRefLikeReference
2426+
{
2427+
[System.CLSCompliant(false)]
2428+
public ByRefLikeReference(System.Type type, void* ptr) { }
2429+
[System.CLSCompliant(false)]
2430+
public unsafe void* GetPtr(System.Type checkType) { }
2431+
[System.CLSCompliant(false)]
2432+
public unsafe void Invalidate(void* checkPtr) { }
2433+
}
24252434
public class CustomAttributeInfo : System.IEquatable<Castle.DynamicProxy.CustomAttributeInfo>
24262435
{
24272436
public CustomAttributeInfo(System.Reflection.ConstructorInfo constructor, object?[] constructorArgs) { }
@@ -2690,6 +2699,18 @@ public static bool IsAccessible(System.Reflection.MethodBase method, [System.Dia
26902699
public static bool IsProxy(object? instance) { }
26912700
public static bool IsProxyType(System.Type type) { }
26922701
}
2702+
public class ReadOnlySpanReference<T> : Castle.DynamicProxy.ByRefLikeReference
2703+
{
2704+
[System.CLSCompliant(false)]
2705+
public ReadOnlySpanReference(System.Type type, void* ptr) { }
2706+
public System.ReadOnlySpan<>& Value { get; }
2707+
}
2708+
public class SpanReference<T> : Castle.DynamicProxy.ByRefLikeReference
2709+
{
2710+
[System.CLSCompliant(false)]
2711+
public SpanReference(System.Type type, void* ptr) { }
2712+
public System.Span<>& Value { get; }
2713+
}
26932714
public class StandardInterceptor : Castle.DynamicProxy.IInterceptor
26942715
{
26952716
public StandardInterceptor() { }

ref/Castle.Core-net9.0.cs

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2422,6 +2422,22 @@ public virtual void MethodsInspected() { }
24222422
public virtual void NonProxyableMemberNotification(System.Type type, System.Reflection.MemberInfo memberInfo) { }
24232423
public virtual bool ShouldInterceptMethod(System.Type type, System.Reflection.MethodInfo methodInfo) { }
24242424
}
2425+
public class ByRefLikeReference
2426+
{
2427+
[System.CLSCompliant(false)]
2428+
public ByRefLikeReference(System.Type type, void* ptr) { }
2429+
[System.CLSCompliant(false)]
2430+
public unsafe void* GetPtr(System.Type checkType) { }
2431+
[System.CLSCompliant(false)]
2432+
public unsafe void Invalidate(void* checkPtr) { }
2433+
}
2434+
public class ByRefLikeReference<TByRefLike> : Castle.DynamicProxy.ByRefLikeReference
2435+
where TByRefLike : struct
2436+
{
2437+
[System.CLSCompliant(false)]
2438+
public ByRefLikeReference(System.Type type, void* ptr) { }
2439+
public TByRefLike& Value { get; }
2440+
}
24252441
public class CustomAttributeInfo : System.IEquatable<Castle.DynamicProxy.CustomAttributeInfo>
24262442
{
24272443
public CustomAttributeInfo(System.Reflection.ConstructorInfo constructor, object?[] constructorArgs) { }
@@ -2700,6 +2716,16 @@ public static bool IsAccessible(System.Reflection.MethodBase method, [System.Dia
27002716
public static bool IsProxy(object? instance) { }
27012717
public static bool IsProxyType(System.Type type) { }
27022718
}
2719+
public class ReadOnlySpanReference<T> : Castle.DynamicProxy.ByRefLikeReference<System.ReadOnlySpan<T>>
2720+
{
2721+
[System.CLSCompliant(false)]
2722+
public ReadOnlySpanReference(System.Type type, void* ptr) { }
2723+
}
2724+
public class SpanReference<T> : Castle.DynamicProxy.ByRefLikeReference<System.Span<T>>
2725+
{
2726+
[System.CLSCompliant(false)]
2727+
public SpanReference(System.Type type, void* ptr) { }
2728+
}
27032729
public class StandardInterceptor : Castle.DynamicProxy.IInterceptor
27042730
{
27052731
public StandardInterceptor() { }

0 commit comments

Comments
 (0)