refactor: Tidying

This commit is contained in:
Chris Cameron
2019-01-08 14:47:03 -05:00
parent 108317212c
commit ad47c890a8
2 changed files with 5 additions and 0 deletions

View File

@@ -233,7 +233,9 @@ namespace ICD.Common.Utils
.GetTypeInfo()
#endif
.GetProperties()
// ReSharper disable InvokeAsExtensionMethod
.Where(p => ReflectionExtensions.GetCustomAttributes<T>(p, inherit).Any());
// ReSharper restore InvokeAsExtensionMethod
}
#endregion

View File

@@ -71,7 +71,10 @@ namespace ICD.Common.Utils.Extensions
sigBuilder.Append("(");
firstParam = true;
#if !SIMPLSHARP
bool secondParam = false;
#endif
foreach (ParameterInfo param in method.GetParameters())
{