Beispiel #1
0
 /// <summary>
 /// Compare two DeserializableMembers for equality
 /// </summary>
 public static bool operator ==(DeserializableMember?a, DeserializableMember?b)
 => Utils.NullReferenceEquality(a, b);
 /// <summary>
 /// Compare two GenerateDeserializableAttribute for equality
 /// </summary>
 public static bool operator ==(GenerateDeserializerAttribute a, GenerateDeserializerAttribute b)
 => Utils.NullReferenceEquality(a, b);
Beispiel #3
0
 /// <summary>
 /// Compare two SetterBackedByConstructorParameterAttributes for equality
 /// </summary>
 public static bool operator ==(SetterBackedByConstructorParameterAttribute?a, SetterBackedByConstructorParameterAttribute?b)
 => Utils.NullReferenceEquality(a, b);
 /// <summary>
 /// Compare two SetterBackedByInitOnlyPropertyAttribute for equality
 /// </summary>
 public static bool operator ==(SetterBackedByInitOnlyPropertyAttribute?a, SetterBackedByInitOnlyPropertyAttribute?b)
 => Utils.NullReferenceEquality(a, b);
Beispiel #5
0
 /// <summary>
 /// Compare two Options for equality
 /// </summary>
 public static bool operator ==(Options a, Options b)
 => Utils.NullReferenceEquality(a, b);
 /// <summary>
 /// Compare two IsRequiredAttributes for equality
 /// </summary>
 public static bool operator ==(IsRequiredAttribute?a, IsRequiredAttribute?b)
 => Utils.NullReferenceEquality(a, b);
 /// <summary>
 /// Compare two GeneratedSourceVersionAttributes for equality
 /// </summary>
 public static bool operator ==(GeneratedSourceVersionAttribute a, GeneratedSourceVersionAttribute b)
 => Utils.NullReferenceEquality(a, b);
 /// <summary>
 /// Compare two ConstructorInstanceProviderAttributes for equality
 /// </summary>
 public static bool operator ==(ConstructorInstanceProviderAttribute?a, ConstructorInstanceProviderAttribute?b)
 => Utils.NullReferenceEquality(a, b);
 /// <summary>
 /// Compare two DoesNotEmitDefaultValueAttributes for equality
 /// </summary>
 public static bool operator ==(DoesNotEmitDefaultValueAttribute?a, DoesNotEmitDefaultValueAttribute?b)
 => Utils.NullReferenceEquality(a, b);
 /// <summary>
 /// Compare two DeserializerInstanceProviderAttributes for equality
 /// </summary>
 public static bool operator ==(DeserializerInstanceProviderAttribute a, DeserializerInstanceProviderAttribute b)
 => Utils.NullReferenceEquality(a, b);
Beispiel #11
0
 /// <summary>
 /// Compare two SerializerMemberAttributes for equality
 /// </summary>
 public static bool operator ==(SerializerMemberAttribute a, SerializerMemberAttribute b)
 => Utils.NullReferenceEquality(a, b);