Skip to content

Commit

Permalink
Minor cleanup and readme fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikernet committed Oct 22, 2024
1 parent 689b92b commit 0d8c3a9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You can view the API on [FuGet](https://www.fuget.org/packages/Singulink.Reflect

## Benchmarks

Entries with an `_Activator` suffix use `System.Activator` and the entries below that with an `_ObjectFactory` suffix use this library for comparison.
Entries with an `_Activator` suffix use `System.Activator` and those with an `_ObjectFactory` suffix use this library.

### .NET 8

Expand Down
2 changes: 1 addition & 1 deletion Source/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ dotnet_naming_style.begins_with_i.capitalization = pascal_case

#### Analyzer diagnostics ####

stylecop.documentation.documentExposedElements = false
stylecop.documentation.documentExposedElements = true
stylecop.documentation.documentInternalElements = false
stylecop.documentation.documentInterfaces = false

Expand Down
3 changes: 3 additions & 0 deletions Source/Singulink.Reflection.ObjectFactory/ObjectFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerServices;

#if NETSTANDARD
using System.Runtime.Serialization;
#endif

namespace Singulink.Reflection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Singulink.Reflection;
namespace System.Diagnostics.CodeAnalysis;

#if NETSTANDARD

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Singulink.Reflection;
namespace System.Diagnostics.CodeAnalysis;

#if NETSTANDARD

Expand Down

0 comments on commit 0d8c3a9

Please sign in to comment.