Skip to content

Commit

Permalink
Update packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed Nov 10, 2023
1 parent 58cbf39 commit d7190d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.OpenApi" Version="1.6.6" />
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.6" />
<PackageReference Include="Microsoft.OpenApi" Version="1.6.9" />
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.9" />
<PackageReference Include="Qowaiv.Validation.Abstractions" Version="0.3.0" />
<PackageReference Include="System.Memory.Data" Version="7.0.0" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Qowaiv.CodeGeneration/Qowaiv.CodeGeneration.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Qowaiv" Version="6.4.4" />
<PackageReference Include="Qowaiv" Version="6.5.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

Expand Down
9 changes: 7 additions & 2 deletions src/Qowaiv.CodeGeneration/Types/TypeBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected TypeBase(TypeInfo info)
Methods = info.Methods ?? Array.Empty<MethodInfo>();
Properties = info.Properties ?? Array.Empty<PropertyInfo>();
Interfaces = info.Interfaces ?? Array.Empty<Type>();
DerivedTypes = info.DerivedTypes ?? Array.Empty<Type>();
DerivedTypes = info.DerivedTypes ?? Array.Empty<Type>();

IsPartial = info.IsPartial;
TypeAttributes |= info.IsSealed ? TypeAttributes.Sealed : default;
Expand All @@ -43,7 +43,7 @@ protected TypeBase(TypeInfo info)

/// <inheritdoc />
public override string AssemblyQualifiedName => Assembly.GetName().FullName;

/// <inheritdoc />
public override Type BaseType { get; }

Expand Down Expand Up @@ -74,6 +74,7 @@ protected TypeBase(TypeInfo info)
/// <inheritdoc />
public override Type UnderlyingSystemType => this;


/// <inheritdoc />
[Pure]
public override bool IsDefined(Type attributeType, bool inherit)
Expand Down Expand Up @@ -130,6 +131,10 @@ public override EventInfo[] GetEvents(BindingFlags bindingAttr)
public override FieldInfo[] GetFields(BindingFlags bindingAttr)
=> Fields.Where(f => (f.Bindings() & bindingAttr) != default).ToArray();

/// <inheritdoc />
[Pure]
public override Type[] GetGenericArguments() => Array.Empty<Type>();

/// <inheritdoc />
[Pure]
public override Type[] GetInterfaces() => Interfaces.ToArray();
Expand Down

0 comments on commit d7190d5

Please sign in to comment.