MarkMethodsIf (type.Methods, IsStaticConstructorPredicate);
}
+ DoAdditionalTypeProcessing (type);
+
Annotations.Mark (type);
ApplyPreserveInfo (type);
return type;
}
+ // Allow subclassers to mark additional things when marking a method
+ protected virtual void DoAdditionalTypeProcessing (TypeDefinition method)
+ {
+ }
+
void MarkTypeSpecialCustomAttributes (TypeDefinition type)
{
if (!type.HasCustomAttributes)
if (ShouldParseMethodBody (method))
MarkMethodBody (method.Body);
+ DoAdditionalMethodProcessing (method);
+
Annotations.Mark (method);
ApplyPreserveMethods (method);
}
+ // Allow subclassers to mark additional things when marking a method
+ protected virtual void DoAdditionalMethodProcessing (MethodDefinition method)
+ {
+ }
+
void MarkBaseMethods (MethodDefinition method)
{
IList base_methods = Annotations.GetBaseMethods (method);