System.Web.Compilation.TemplateControlCompiler.SetCustomAttributes C# (CSharp) Method

SetCustomAttributes() static private method

static private SetCustomAttributes ( CodeMemberMethod method ) : void
method System.CodeDom.CodeMemberMethod
return void
		void SetCustomAttributes (CodeMemberMethod method)
		{
			Type baseType = parser.BaseType;
			if (baseType == null)
				return;
			
			List <UnknownAttributeDescriptor> attrs = parser.UnknownMainAttributes;
			if (attrs == null || attrs.Count == 0)
				return;

			foreach (UnknownAttributeDescriptor uad in attrs)
				SetCustomAttribute (method, uad);
		}
		
TemplateControlCompiler