private IncludeTypeWhenDecompilingProject ( Mono.Cecil.TypeDefinition type, |
||
type | Mono.Cecil.TypeDefinition | |
options | ||
return | bool |
bool IncludeTypeWhenDecompilingProject(TypeDefinition type, DecompilationOptions options)
{
if (options.IncludedClassName != null ) {
if ( type.Name == options.IncludedClassName) {
// Console.WriteLine (file.Key);
return true;
}
return false;
}
if (type.Name == "<Module>" || AstBuilder.MemberIsHidden(type, options.DecompilerSettings)
)
return false;
if (type.Namespace == "XamlGeneratedNamespace" && type.Name == "GeneratedInternalTypeHelper")
return false;
return true;
}