[mono/mono] 33663b2d: [linker] Allow accessing more MarkStep.Mark* methods from subclasses

"Sebastien Pouliot ([email protected])" <[email protected]> Tue, 5 Nov 2013 16:47:07 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000142292914ae-dbba810c-f577-4a83-9d36-6486fbdbdabf-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/cc7b7992ff44...33663b2db833

   Commit: 33663b2db833cbfd6dca447bdeb262710b32693b
   Author: Sebastien Pouliot <[email protected]> (spouliot)
     Date: 2013-11-05 16:44:57 GMT
      URL: https://github.com/mono/mono/commit/33663b2db833cbfd6dca447bdeb262710b32693b

[linker] Allow accessing more MarkStep.Mark* methods from subclasses

Changed paths:
  M mcs/tools/linker/Mono.Linker.Steps/MarkStep.cs

Modified: mcs/tools/linker/Mono.Linker.Steps/MarkStep.cs
===================================================================
@@ -296,7 +296,7 @@ void MarkAssembly (AssemblyDefinition assembly)
 				MarkCustomAttributes (module);
 		}
 
-		void MarkField (FieldReference reference)
+		protected void MarkField (FieldReference reference)
 		{
 //			if (IgnoreScope (reference.DeclaringType.Scope))
 //				return;
@@ -901,12 +901,12 @@ static EventDefinition GetEvent (MethodDefinition md)
 			return null;
 		}
 
-		void MarkProperty (PropertyDefinition prop)
+		protected void MarkProperty (PropertyDefinition prop)
 		{
 			MarkCustomAttributes (prop);
 		}
 
-		void MarkEvent (EventDefinition evt)
+		protected void MarkEvent (EventDefinition evt)
 		{
 			MarkCustomAttributes (evt);
 			MarkMethodIfNotNull (evt.AddMethod);


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches