Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/NRefactory.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Grunwald <daniel@danielgrunwald.de>2013-07-09 03:45:33 +0400
committerDaniel Grunwald <daniel@danielgrunwald.de>2013-07-09 18:26:39 +0400
commitd87a233e85c4e4576de4f2b39a24b16786d209ad (patch)
tree211895f0af7b1e2852a7a7ab8450b239e1c4818e /ICSharpCode.NRefactory.Cecil
parent90d654515368325b7302ee39d6268824a879e029 (diff)
Fix false positive in NoDefaultConstructorIssue for static constructors.
Diffstat (limited to 'ICSharpCode.NRefactory.Cecil')
-rw-r--r--ICSharpCode.NRefactory.Cecil/CecilLoader.cs2
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;