FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (8)
109codeClass.CustomAttributes.Add(GeneratedCodeAttribute);
114codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DebuggerStepThroughAttribute).FullName));
116AddTypeMetadata(codeClass.CustomAttributes, typeof(SoapTypeAttribute), mapping.TypeDesc.Name, Accessor.UnescapeName(mapping.TypeName), mapping.Namespace, mapping.IncludeInSchema);
152CodeExporter.AddIncludeMetadata(codeClass.CustomAttributes, mapping, typeof(SoapIncludeAttribute));
245AddMemberMetadata(field.CustomAttributes, member, false);
253field.CustomAttributes.Add(attribute);
269AddMemberMetadata(prop.CustomAttributes, member, false);
281prop.CustomAttributes.Add(attribute);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (11)
156codeClass.CustomAttributes.Add(GeneratedCodeAttribute);
161codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DebuggerStepThroughAttribute).FullName));
164AddTypeMetadata(codeClass.CustomAttributes, typeof(XmlTypeAttribute), mapping.TypeDesc.Name, Accessor.UnescapeName(mapping.TypeName), mapping.Namespace, mapping.IncludeInSchema);
166else if (FindAttributeDeclaration(typeof(GeneratedCodeAttribute), codeClass.CustomAttributes) == null)
169codeClass.CustomAttributes.Add(GeneratedCodeAttribute);
178AddRootMetadata(codeClass.CustomAttributes, mapping, name, ns, rootElement);
598AddIncludeMetadata(codeClass.CustomAttributes, mapping, typeof(XmlIncludeAttribute));
816AddMemberMetadata(field, field.CustomAttributes, member, ns, false, field.Comments, ctor);
824field.CustomAttributes.Add(attribute);
840AddMemberMetadata(field, prop.CustomAttributes, member, ns, false, prop.Comments, ctor);
852prop.CustomAttributes.Add(attribute);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (11)
324TypedMessageHelper.AddEditorBrowsableAttribute(typedMessageDecl.CustomAttributes);
390CustomAttributeHelper.FindOrCreateAttributeDeclaration<OperationContractAttribute>(_method.CustomAttributes), OperationContractAttribute.ActionPropertyName, _request.Action);
395CustomAttributeHelper.FindOrCreateAttributeDeclaration<OperationContractAttribute>(_method.CustomAttributes), OperationContractAttribute.ReplyActionPropertyName, _response.Action);
414_ins = new ParametersPartCodeGenerator(this, beginMethod.Name, beginMethod.Parameters, beginMethod.CustomAttributes, FieldDirection.In);
415_outs = new ParametersPartCodeGenerator(this, beginMethod.Name, endMethod.Parameters, beginMethod.CustomAttributes, FieldDirection.Out);
568return memberDecl.CustomAttributes;
575return _typeDecl.CustomAttributes;
594TypedMessageHelper.AddEditorBrowsableAttribute(wrapperTypeDecl.CustomAttributes);
599_wrappedBodyTypeGenerator.AddTypeAttributes(messageName, defaultNS, wrapperTypeDecl.CustomAttributes, _isEncoded);
607AddWrapperPart(messageDescription.MessageName, _wrappedBodyTypeGenerator, partGenerator, messageDescription.Body.ReturnValue, wrapperTypeDecl.CustomAttributes);
616AddWrapperPart(messageDescription.MessageName, _wrappedBodyTypeGenerator, partGenerator, part, wrapperTypeDecl.CustomAttributes);