Ejemplo n.º 1
0
        private void DoCheckTypes(AssemblyCache cache, string[] onlyType)
        {
            Profile.Start("CheckTypes");
            BeginTypes begin = new BeginTypes();

            m_checker.Dispatcher.Dispatch(begin);

            foreach (TypeDefinition type in cache.Types)
            {
                if (DoNameNeedsCheck(type.FullName, onlyType))
                {
                    m_checker.Check(type);
                }
            }

            EndTypes end = new EndTypes();

            m_checker.Dispatcher.Dispatch(end);
            Profile.Stop("CheckTypes");
        }
Ejemplo n.º 2
0
 internal void Dispatch(BeginTypes types)
 {
     m_excluding.Clear();
     DoVisit(types);
 }
Ejemplo n.º 3
0
		private void DoCheckTypes(AssemblyCache cache, string[] onlyType)
		{			
			Profile.Start("CheckTypes");
			BeginTypes begin = new BeginTypes();
			m_checker.Dispatcher.Dispatch(begin);
			
			foreach (TypeDefinition type in cache.Types)
			{	
				if (DoNameNeedsCheck(type.FullName, onlyType))
				{
					m_checker.Check(type);
				}
			}
			
			EndTypes end = new EndTypes();
			m_checker.Dispatcher.Dispatch(end);
			Profile.Stop("CheckTypes");
		}