File tree 14 files changed +0
-42
lines changed
14 files changed +0
-42
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ namespace Aqua.Dynamic;
11
11
using System . Runtime . Serialization ;
12
12
using System . Xml . Serialization ;
13
13
14
- #if ! NET8_0_OR_GREATER
15
14
[ Serializable ]
16
- #endif // NET8_0_OR_GREATER
17
15
[ DataContract ( IsReference = true ) ]
18
16
[ DebuggerDisplay ( "{GetDebuggerDisplay(),nq}" ) ]
19
17
[ KnownType ( typeof ( DynamicObject ) ) , XmlInclude ( typeof ( DynamicObject ) ) ]
Original file line number Diff line number Diff line change @@ -5,9 +5,7 @@ namespace Aqua.Dynamic;
5
5
using System ;
6
6
using System . Runtime . Serialization ;
7
7
8
- #if ! NET8_0_OR_GREATER
9
8
[ Serializable ]
10
- #endif // NET8_0_OR_GREATER
11
9
public class DynamicObjectMapperException : Exception
12
10
{
13
11
public DynamicObjectMapperException ( )
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ namespace Aqua.Dynamic;
10
10
using System . Runtime . Serialization ;
11
11
using System . Xml . Serialization ;
12
12
13
- #if ! NET8_0_OR_GREATER
14
13
[ Serializable ]
15
- #endif // NET8_0_OR_GREATER
16
14
[ DataContract ]
17
15
[ KnownType ( typeof ( object ) ) , XmlInclude ( typeof ( object ) ) ]
18
16
[ KnownType ( typeof ( object [ ] ) ) , XmlInclude ( typeof ( object [ ] ) ) ]
Original file line number Diff line number Diff line change @@ -14,15 +14,11 @@ namespace Aqua.Dynamic;
14
14
/// However, since <see cref="Property" /> is not immutable a <see cref="PropertySet"/> may technically not be considered a set
15
15
/// and does not guarantee uniqueness of property names.
16
16
/// </summary>
17
- #if ! NET8_0_OR_GREATER
18
17
[ Serializable ]
19
- #endif // NET8_0_OR_GREATER
20
18
[ CollectionDataContract ]
21
19
public class PropertySet : IReadOnlyCollection < Property >
22
20
{
23
- #if ! NET8_0_OR_GREATER
24
21
[ Serializable ]
25
- #endif // NET8_0_OR_GREATER
26
22
private sealed class PropertyComparer : IEqualityComparer < Property >
27
23
{
28
24
private PropertyComparer ( )
Original file line number Diff line number Diff line change @@ -8,9 +8,7 @@ namespace Aqua.TypeSystem;
8
8
using System . Diagnostics ;
9
9
using System . Runtime . Serialization ;
10
10
11
- #if ! NET8_0_OR_GREATER
12
11
[ Serializable ]
13
- #endif // NET8_0_OR_GREATER
14
12
[ DataContract ( Name = "Constructor" , IsReference = true ) ]
15
13
[ DebuggerDisplay ( "Constructor: {Name,nq}" ) ]
16
14
public class ConstructorInfo : MethodBaseInfo
@@ -19,9 +17,7 @@ public class ConstructorInfo : MethodBaseInfo
19
17
20
18
[ IgnoreDataMember ]
21
19
[ Unmapped ]
22
- #if ! NET8_0_OR_GREATER
23
20
[ NonSerialized ]
24
- #endif // NET8_0_OR_GREATER
25
21
[ DebuggerBrowsable ( DebuggerBrowsableState . Never ) ]
26
22
private System . Reflection . ConstructorInfo ? _constructor ;
27
23
Original file line number Diff line number Diff line change @@ -5,9 +5,7 @@ namespace Aqua.TypeSystem.Emit;
5
5
using System ;
6
6
using System . Runtime . Serialization ;
7
7
8
- #if ! NET8_0_OR_GREATER
9
8
[ Serializable ]
10
- #endif // NET8_0_OR_GREATER
11
9
public class TypeEmitterException : Exception
12
10
{
13
11
public TypeEmitterException ( )
Original file line number Diff line number Diff line change @@ -7,18 +7,14 @@ namespace Aqua.TypeSystem;
7
7
using System . Diagnostics ;
8
8
using System . Runtime . Serialization ;
9
9
10
- #if ! NET8_0_OR_GREATER
11
10
[ Serializable ]
12
- #endif // NET8_0_OR_GREATER
13
11
[ DataContract ( Name = "Field" , IsReference = true ) ]
14
12
[ DebuggerDisplay ( "Field: {Name,nq}" ) ]
15
13
public class FieldInfo : MemberInfo
16
14
{
17
15
[ IgnoreDataMember ]
18
16
[ Unmapped ]
19
- #if ! NET8_0_OR_GREATER
20
17
[ NonSerialized ]
21
- #endif // NET8_0_OR_GREATER
22
18
[ DebuggerBrowsable ( DebuggerBrowsableState . Never ) ]
23
19
private System . Reflection . FieldInfo ? _field ;
24
20
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ namespace Aqua.TypeSystem;
10
10
using System . Runtime . Serialization ;
11
11
using System . Xml . Serialization ;
12
12
13
- #if ! NET8_0_OR_GREATER
14
13
[ Serializable ]
15
- #endif // NET8_0_OR_GREATER
16
14
[ DataContract ( Name = "Member" , IsReference = true ) ]
17
15
[ KnownType ( typeof ( ConstructorInfo ) ) , XmlInclude ( typeof ( ConstructorInfo ) ) ]
18
16
[ KnownType ( typeof ( FieldInfo ) ) , XmlInclude ( typeof ( FieldInfo ) ) ]
@@ -22,9 +20,7 @@ public abstract class MemberInfo
22
20
{
23
21
[ IgnoreDataMember ]
24
22
[ Unmapped ]
25
- #if ! NET8_0_OR_GREATER
26
23
[ NonSerialized ]
27
- #endif // NET8_0_OR_GREATER
28
24
[ DebuggerBrowsable ( DebuggerBrowsableState . Never ) ]
29
25
private System . Reflection . MemberInfo ? _member ;
30
26
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ namespace Aqua.TypeSystem;
4
4
5
5
using System ;
6
6
7
- #if ! NET8_0_OR_GREATER
8
7
[ Serializable ]
9
- #endif // NET8_0_OR_GREATER
10
8
[ Flags ]
11
9
public enum MemberTypes
12
10
{
Original file line number Diff line number Diff line change @@ -9,9 +9,7 @@ namespace Aqua.TypeSystem;
9
9
using System . Runtime . Serialization ;
10
10
using System . Xml . Serialization ;
11
11
12
- #if ! NET8_0_OR_GREATER
13
12
[ Serializable ]
14
- #endif // NET8_0_OR_GREATER
15
13
[ DataContract ( Name = "MethodBase" , IsReference = true ) ]
16
14
[ KnownType ( typeof ( ConstructorInfo ) ) , XmlInclude ( typeof ( ConstructorInfo ) ) ]
17
15
[ KnownType ( typeof ( MethodInfo ) ) , XmlInclude ( typeof ( MethodInfo ) ) ]
Original file line number Diff line number Diff line change @@ -8,18 +8,14 @@ namespace Aqua.TypeSystem;
8
8
using System . Diagnostics ;
9
9
using System . Runtime . Serialization ;
10
10
11
- #if ! NET8_0_OR_GREATER
12
11
[ Serializable ]
13
- #endif // NET8_0_OR_GREATER
14
12
[ DataContract ( Name = "Method" , IsReference = true ) ]
15
13
[ DebuggerDisplay ( "Method: {Name,nq}" ) ]
16
14
public class MethodInfo : MethodBaseInfo
17
15
{
18
16
[ IgnoreDataMember ]
19
17
[ Unmapped ]
20
- #if ! NET8_0_OR_GREATER
21
18
[ NonSerialized ]
22
- #endif // NET8_0_OR_GREATER
23
19
[ DebuggerBrowsable ( DebuggerBrowsableState . Never ) ]
24
20
private System . Reflection . MethodInfo ? _method ;
25
21
Original file line number Diff line number Diff line change @@ -7,18 +7,14 @@ namespace Aqua.TypeSystem;
7
7
using System . Diagnostics ;
8
8
using System . Runtime . Serialization ;
9
9
10
- #if ! NET8_0_OR_GREATER
11
10
[ Serializable ]
12
- #endif // NET8_0_OR_GREATER
13
11
[ DataContract ( Name = "Property" , IsReference = true ) ]
14
12
[ DebuggerDisplay ( "Property: {Name,nq}" ) ]
15
13
public class PropertyInfo : MemberInfo
16
14
{
17
15
[ IgnoreDataMember ]
18
16
[ Unmapped ]
19
- #if ! NET8_0_OR_GREATER
20
17
[ NonSerialized ]
21
- #endif // NET8_0_OR_GREATER
22
18
[ DebuggerBrowsable ( DebuggerBrowsableState . Never ) ]
23
19
private System . Reflection . PropertyInfo ? _property ;
24
20
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ namespace Aqua.TypeSystem;
14
14
using System . Text . RegularExpressions ;
15
15
using System . Xml . Serialization ;
16
16
17
- #if ! NET8_0_OR_GREATER
18
17
[ Serializable ]
19
- #endif // NET8_0_OR_GREATER
20
18
[ DataContract ( Name = "Type" , IsReference = true ) ]
21
19
[ DebuggerDisplay ( "Type: {FullName,nq}" ) ]
22
20
[ KnownType ( typeof ( TypeInfo [ ] ) ) , XmlInclude ( typeof ( TypeInfo [ ] ) ) ]
@@ -26,9 +24,7 @@ public class TypeInfo
26
24
27
25
[ IgnoreDataMember ]
28
26
[ Unmapped ]
29
- #if ! NET8_0_OR_GREATER
30
27
[ NonSerialized ]
31
- #endif // NET8_0_OR_GREATER
32
28
[ DebuggerBrowsable ( DebuggerBrowsableState . Never ) ]
33
29
private Type ? _type ;
34
30
Original file line number Diff line number Diff line change @@ -5,9 +5,7 @@ namespace Aqua.TypeSystem;
5
5
using System ;
6
6
using System . Runtime . Serialization ;
7
7
8
- #if ! NET8_0_OR_GREATER
9
8
[ Serializable ]
10
- #endif // NET8_0_OR_GREATER
11
9
public class TypeResolverException : Exception
12
10
{
13
11
public TypeResolverException ( )
You can’t perform that action at this time.
0 commit comments