diff options
author | Daniel Grunwald <daniel@danielgrunwald.de> | 2013-07-09 03:45:33 +0400 |
---|---|---|
committer | Daniel Grunwald <daniel@danielgrunwald.de> | 2013-07-09 18:26:39 +0400 |
commit | d87a233e85c4e4576de4f2b39a24b16786d209ad (patch) | |
tree | 211895f0af7b1e2852a7a7ab8450b239e1c4818e /ICSharpCode.NRefactory.Cecil | |
parent | 90d654515368325b7302ee39d6268824a879e029 (diff) |
Fix false positive in NoDefaultConstructorIssue for static constructors.
Diffstat (limited to 'ICSharpCode.NRefactory.Cecil')
-rw-r--r-- | ICSharpCode.NRefactory.Cecil/CecilLoader.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ICSharpCode.NRefactory.Cecil/CecilLoader.cs b/ICSharpCode.NRefactory.Cecil/CecilLoader.cs index 6fe1cc23..a1feef9e 100644 --- a/ICSharpCode.NRefactory.Cecil/CecilLoader.cs +++ b/ICSharpCode.NRefactory.Cecil/CecilLoader.cs @@ -521,7 +521,7 @@ namespace ICSharpCode.NRefactory.TypeSystem switch (info.Attributes & PInvokeAttributes.CallConvMask) { case (PInvokeAttributes)0: Debug.WriteLine ("P/Invoke calling convention not set on:" + methodDefinition.FullName); - callingConvention = CallingConvention.StdCall; + callingConvention = 0; break; case PInvokeAttributes.CallConvCdecl: callingConvention = CallingConvention.Cdecl; |