3using Microsoft.CodeAnalysis;
7public readonly
struct ApiModel : IEquatable<ApiModel>
20 bool constructorPrivate,
21 Diagnostic[] diagnostics)
41 public override bool Equals(
object? obj)
51 hashCode = (hashCode * 397) ^
ClassName.GetHashCode();
52 hashCode = (hashCode * 397) ^
ApiName.GetHashCode();
55 hashCode = (hashCode * 397) ^
Diagnostics.GetHashCode();
68 return !left.
Equals(right);
ApiModel(string ns, string className, MethodModel[] methods, string apiName, bool constructorPrivate, Diagnostic[] diagnostics)
readonly MethodModel[] Methods
static bool operator!=(ApiModel left, ApiModel right)
bool Equals(ApiModel other)
readonly string ClassName
static bool operator==(ApiModel left, ApiModel right)
readonly string Namespace
readonly Diagnostic[] Diagnostics
readonly bool ConstructorPrivate
override bool Equals(object? obj)
override int GetHashCode()
override int GetHashCode()
bool Equals(MethodModel other)