mirror of
				https://github.com/Ryujinx/Opentk.git
				synced 2025-11-04 15:05:07 +00:00 
			
		
		
		
	Added static modifier to methods which could have it.
This commit is contained in:
		
							parent
							
								
									57de60ba96
								
							
						
					
					
						commit
						8514b5c78e
					
				| 
						 | 
				
			
			@ -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<MethodDefinition> methods)
 | 
			
		||||
        static void RemoveNativeSignatures(TypeDefinition type, List<MethodDefinition> 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)
 | 
			
		||||
            {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue