Skip to content

Commit 79d133a

Browse files
committed
fix some stylecop issues
1 parent 7e5261d commit 79d133a

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

src/JsonLD.Entities/ContextNotFoundException.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace JsonLD.Entities
55
/// <summary>
66
/// Represents errors which occur if JSON-LD @context cannot be found for a given type
77
/// </summary>
8+
[Serializable]
89
public class ContextNotFoundException : Exception
910
{
1011
private readonly Type _entityType;

src/JsonLD.Entities/JsonLdContractResolver.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ static JsonLdContractResolver()
2727
ListTypes.Add(typeof(IList<>));
2828
}
2929

30+
/// <summary>
31+
/// Initializes a new instance of the <see cref="JsonLdContractResolver"/> class.
32+
/// </summary>
3033
public JsonLdContractResolver()
3134
{
3235
NamingStrategy = JsonLdNamingStrategy;

src/JsonLD.Entities/JsonLdNamingStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ protected override string ResolvePropertyName(string propertyName)
2121
return base.ResolvePropertyName(propertyName);
2222
}
2323
}
24-
}
24+
}

src/JsonLD.Entities/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
[assembly: AssemblyCopyright("Copyright © 2014-2016 Tomasz Pluskiewicz")]
88
[assembly: AssemblyCompany("Tomasz Pluskiewicz")]
99

10+
[assembly: ComVisible(false)]
11+
1012
// The following GUID is for the ID of the typelib if this project is exposed to COM
1113
[assembly: Guid("ee2b4e4a-32c1-4636-9dc0-09fa135eed99")]

0 commit comments

Comments
 (0)