From: Jarl Gullberg Date: Mon, 29 May 2017 18:19:17 +0000 (+0200) Subject: Added static modifier to methods which could have it. X-Git-Tag: v3.0.0~109^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8514b5c78ef40ca643a54b9edc4b43a667f6480c;p=platform%2Fcore%2Fcsapi%2Fopentk.git Added static modifier to methods which could have it. --- diff --git a/src/Generator.Rewrite/Program.cs b/src/Generator.Rewrite/Program.cs index 4dc46db..dd50760 100644 --- a/src/Generator.Rewrite/Program.cs +++ b/src/Generator.Rewrite/Program.cs @@ -169,7 +169,7 @@ namespace OpenTK.Rewrite } } - int GetSlot(MethodDefinition signature) + static int GetSlot(MethodDefinition signature) { // Pretend there is no slots if we want to force everything to work through DllImport (Android & iOS) if (dllimport) @@ -219,7 +219,7 @@ namespace OpenTK.Rewrite } } - void RemoveNativeSignatures(TypeDefinition type, List methods) + static void RemoveNativeSignatures(TypeDefinition type, List methods) { // Remove all DllImports for functions called through calli, since // their signatures are embedded directly into the calli callsite. @@ -230,7 +230,7 @@ namespace OpenTK.Rewrite } } - void RemoveSupportingAttributes(TypeDefinition type) + static void RemoveSupportingAttributes(TypeDefinition type) { foreach (var method in type.Methods) {