Skip to content

Commit a4c92ec

Browse files
committed
Suppressed warnings regarding confusing members names
These names might be a bit confusing, but they also refer to the same underlying value. In the future, we might disambiguate these, though for now that would be a breaking change.
1 parent d52a7a1 commit a4c92ec

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System.Reflection;
2-
using System.Runtime.CompilerServices;
1+
using System.Diagnostics.CodeAnalysis;
32
using System.Runtime.InteropServices;
43

54
// Setting ComVisible to false makes the types in this assembly not visible
@@ -9,3 +8,7 @@
98

109
// The following GUID is for the ID of the typelib if this project is exposed to COM
1110
[assembly: Guid("02a3d98a-bf8a-4150-8fec-45a0d9c322e4")]
11+
12+
// Handle suppressions
13+
[assembly: SuppressMessage("Naming", "CA1721:Property names should not match get methods", Justification = "By design", Scope = "member", Target = "~P:OnTopic.Editor.Models.Metadata.ContentTypeDescriptorTopicViewModel.AttributeDescriptors")]
14+
[assembly: SuppressMessage("Naming", "CA1721:Property names should not match get methods", Justification = "By design", Scope = "member", Target = "~P:OnTopic.Editor.Models.Components.BindingModels.AttributeBindingModel.Value")]

0 commit comments

Comments
 (0)