ICSharpCode.ILSpy.CSharpLanguage.IncludeTypeWhenDecompilingProject C# (CSharp) Метод

IncludeTypeWhenDecompilingProject() приватный Метод

private IncludeTypeWhenDecompilingProject ( Mono.Cecil.TypeDefinition type, DecompilationOptions options ) : bool
type Mono.Cecil.TypeDefinition
options DecompilationOptions
Результат 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;
		}