35 instantiations of CodeAttributeDeclarationCollection
System (5)
compmod\system\codedom\CodeCompileUnit.cs (1)
85
attributes = new
CodeAttributeDeclarationCollection
();
compmod\system\codedom\CodeMemberMethod.cs (1)
147
returnAttributes = new
CodeAttributeDeclarationCollection
();
compmod\system\codedom\CodeParameterDeclarationExpression.cs (1)
76
customAttributes = new
CodeAttributeDeclarationCollection
();
compmod\system\codedom\CodeTypeMember.cs (1)
83
customAttributes = new
CodeAttributeDeclarationCollection
();
compmod\system\codedom\CodeTypeParameter.cs (1)
57
customAttributes = new
CodeAttributeDeclarationCollection
();
System.Management (12)
WmiGenerator.cs (12)
982
cmp.CustomAttributes = new
CodeAttributeDeclarationCollection
();
1024
cmp.CustomAttributes = new
CodeAttributeDeclarationCollection
();
1063
cmp.CustomAttributes = new
CodeAttributeDeclarationCollection
();
1162
cmp.CustomAttributes = new
CodeAttributeDeclarationCollection
();
1266
cmp.CustomAttributes = new
CodeAttributeDeclarationCollection
();
1274
cmp2.CustomAttributes = new
CodeAttributeDeclarationCollection
();
5058
cmm.CustomAttributes = new
CodeAttributeDeclarationCollection
();
5092
cmm.CustomAttributes = new
CodeAttributeDeclarationCollection
();
5429
cmp.CustomAttributes = new
CodeAttributeDeclarationCollection
();
6080
cmp.CustomAttributes = new
CodeAttributeDeclarationCollection
();
6306
cmm.CustomAttributes = new
CodeAttributeDeclarationCollection
();
6385
cmm.CustomAttributes = new
CodeAttributeDeclarationCollection
();
System.ServiceModel (1)
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
194
CodeAttributeDeclarationCollection additionalAttributes = new
CodeAttributeDeclarationCollection
();
System.Web (1)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
458
CodeAttributeDeclarationCollection attrDeclarations = new
CodeAttributeDeclarationCollection
();
System.Web.Services (13)
System\Web\Services\Description\HttpProtocolImporter.cs (5)
139
CodeAttributeDeclarationCollection metadata = new
CodeAttributeDeclarationCollection
();
186
metadata = new
CodeAttributeDeclarationCollection
();
229
metadata = new
CodeAttributeDeclarationCollection
();
334
CodeAttributeDeclarationCollection metadata = new
CodeAttributeDeclarationCollection
();
381
codeClass.CustomAttributes = new
CodeAttributeDeclarationCollection
();
System\Web\Services\Description\MimeParameter.cs (1)
36
attrs = new
CodeAttributeDeclarationCollection
();
System\Web\Services\Description\MimeReturn.cs (1)
36
attrs = new
CodeAttributeDeclarationCollection
();
System\Web\Services\Description\MimeTextImporter.cs (1)
65
CodeAttributeDeclarationCollection metadata = new
CodeAttributeDeclarationCollection
();
System\Web\Services\Description\ProtocolImporter.cs (1)
432
CodeAttributeDeclarationCollection metadata = new
CodeAttributeDeclarationCollection
();
System\Web\Services\Description\SoapProtocolImporter.cs (3)
673
CodeAttributeDeclarationCollection metadata = new
CodeAttributeDeclarationCollection
();
782
paramsMetadata[j] = new
CodeAttributeDeclarationCollection
();
791
paramsMetadata[j] = new
CodeAttributeDeclarationCollection
();
System\Web\Services\Description\WebCodeGenerator.cs (1)
233
if (metadata == null) metadata = new
CodeAttributeDeclarationCollection
();
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
356
CodeAttributeDeclarationCollection attributeDecls = new
CodeAttributeDeclarationCollection
();
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
35
CodeAttributeDeclarationCollection includeMetadata = new
CodeAttributeDeclarationCollection
();
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
207
CodeAttributeDeclarationCollection attributeCollection = new
CodeAttributeDeclarationCollection
();
143 references to CodeAttributeDeclarationCollection
System (38)
compmod\microsoft\csharp\csharpcodeprovider.cs (5)
3033
private void GenerateAttributeDeclarationsStart(
CodeAttributeDeclarationCollection
attributes) {
3042
private void GenerateAttributeDeclarationsEnd(
CodeAttributeDeclarationCollection
attributes) {
3046
private void GenerateAttributes(
CodeAttributeDeclarationCollection
attributes) {
3050
private void GenerateAttributes(
CodeAttributeDeclarationCollection
attributes, string prefix) {
3054
private void GenerateAttributes(
CodeAttributeDeclarationCollection
attributes, string prefix, bool inLine) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (4)
654
private void OutputAttributes(
CodeAttributeDeclarationCollection
attributes, bool inLine) {
658
private void OutputAttributes(
CodeAttributeDeclarationCollection
attributes, bool inLine, string prefix, bool closingLine) {
2558
protected override void GenerateAttributeDeclarationsStart(
CodeAttributeDeclarationCollection
attributes) {
2567
protected override void GenerateAttributeDeclarationsEnd(
CodeAttributeDeclarationCollection
attributes) {
compmod\system\codedom\CodeAttributeDeclarationCollection.cs (14)
29
/// Initializes a new instance of <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/>.
37
/// Initializes a new instance of <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/> based on another <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/>.
40
public CodeAttributeDeclarationCollection(
CodeAttributeDeclarationCollection
value) {
46
/// Initializes a new instance of <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/> containing any array of <see cref='System.CodeDom.CodeAttributeDeclaration'/> objects.
67
/// <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/> .</para>
74
/// <para>Copies the elements of an array to the end of the <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/>.</para>
87
/// Adds the contents of another <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/> to the end of the collection.
90
public void AddRange(
CodeAttributeDeclarationCollection
value) {
102
/// <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/> contains the specified <see cref='System.CodeDom.CodeAttributeDeclaration'/>.</para>
109
/// <para>Copies the <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/> values to a one-dimensional <see cref='System.Array'/> instance at the
118
/// the <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/> .</para>
125
/// <para>Inserts a <see cref='System.CodeDom.CodeAttributeDeclaration'/> into the <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/> at the specified index.</para>
133
/// <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/> .</para>
compmod\system\codedom\CodeCompileUnit.cs (2)
33
private
CodeAttributeDeclarationCollection
attributes = null;
82
public
CodeAttributeDeclarationCollection
AssemblyCustomAttributes {
compmod\system\codedom\CodeMemberMethod.cs (2)
34
private
CodeAttributeDeclarationCollection
returnAttributes = null;
144
public
CodeAttributeDeclarationCollection
ReturnTypeCustomAttributes {
compmod\system\codedom\CodeParameterDeclarationExpression.cs (2)
30
private
CodeAttributeDeclarationCollection
customAttributes = null;
73
public
CodeAttributeDeclarationCollection
CustomAttributes {
compmod\system\codedom\CodeTypeMember.cs (3)
33
private
CodeAttributeDeclarationCollection
customAttributes = null;
75
/// Gets or sets a <see cref='System.CodeDom.
CodeAttributeDeclarationCollection
'/> indicating
80
public
CodeAttributeDeclarationCollection
CustomAttributes {
compmod\system\codedom\CodeTypeParameter.cs (2)
25
private
CodeAttributeDeclarationCollection
customAttributes;
54
public
CodeAttributeDeclarationCollection
CustomAttributes {
compmod\system\codedom\compiler\CodeGenerator.cs (3)
976
protected virtual void OutputAttributeDeclarations(
CodeAttributeDeclarationCollection
attributes) {
1857
protected abstract void GenerateAttributeDeclarationsStart(
CodeAttributeDeclarationCollection
attributes);
1864
protected abstract void GenerateAttributeDeclarationsEnd(
CodeAttributeDeclarationCollection
attributes);
compmod\system\codedom\compiler\CodeValidator.cs (1)
145
private void ValidateAttributes(
CodeAttributeDeclarationCollection
attributes) {
System.ServiceModel (40)
System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
11
public static CodeAttributeDeclaration FindOrCreateAttributeDeclaration<T>(
CodeAttributeDeclarationCollection
attributes)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (4)
184
public void AddMemberAttributes(XmlName messageName, MessagePartDescription part,
CodeAttributeDeclarationCollection
attributesImported,
CodeAttributeDeclarationCollection
typeAttributes,
CodeAttributeDeclarationCollection
fieldAttributes)
231
public void AddTypeAttributes(string messageName, string typeNS,
CodeAttributeDeclarationCollection
typeAttributes, bool isEncoded)
System\ServiceModel\Description\OperationGenerator.cs (28)
22
void AddMemberAttributes(XmlName messageName, MessagePartDescription part,
CodeAttributeDeclarationCollection
attributesImported,
CodeAttributeDeclarationCollection
typeAttributes,
CodeAttributeDeclarationCollection
fieldAttributes);
23
void AddTypeAttributes(string messageName, string typeNS,
CodeAttributeDeclarationCollection
typeAttributes, bool isEncoded);
29
Dictionary<MessagePartDescription,
CodeAttributeDeclarationCollection
> parameterAttributes;
36
internal Dictionary<MessagePartDescription,
CodeAttributeDeclarationCollection
> ParameterAttributes
41
this.parameterAttributes = new Dictionary<MessagePartDescription,
CodeAttributeDeclarationCollection
>();
403
CodeAttributeDeclarationCollection
AddPart(CodeTypeReference type, ref string name);
404
CodeAttributeDeclarationCollection
MessageLevelAttributes { get; }
472
CodeAttributeDeclarationCollection
messageAttrs;
476
internal ParametersPartCodeGenerator(ParameterizedMethodGenerator parent, string methodName, CodeParameterDeclarationExpressionCollection parameters,
CodeAttributeDeclarationCollection
messageAttrs, FieldDirection direction)
494
CodeAttributeDeclarationCollection
IPartCodeGenerator.AddPart(CodeTypeReference type, ref string name)
527
CodeAttributeDeclarationCollection
IPartCodeGenerator.MessageLevelAttributes
564
CodeAttributeDeclarationCollection
IPartCodeGenerator.AddPart(CodeTypeReference type, ref string name)
574
CodeAttributeDeclarationCollection
IPartCodeGenerator.MessageLevelAttributes
687
void AddWrapperPart(XmlName messageName, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, IPartCodeGenerator partGenerator, MessagePartDescription part,
CodeAttributeDeclarationCollection
typeAttributes)
695
CodeAttributeDeclarationCollection
fieldAttributes = partGenerator.AddPart(type, ref fieldName);
697
CodeAttributeDeclarationCollection
importedAttributes = null;
716
CodeAttributeDeclarationCollection
partAttributes = partCodeGenerator.AddPart(partType, ref partName);
736
CodeAttributeDeclarationCollection
partAttributes = parts.AddPart(partType, ref partName);
751
void AddAdditionalAttributes(MessagePartDescription setting,
CodeAttributeDeclarationCollection
attributes, bool isAdditionalAttributesAllowed)
755
CodeAttributeDeclarationCollection
localAttributes = this.Parent.parameterAttributes[setting];
799
internal static void AddEditorBrowsableAttribute(
CodeAttributeDeclarationCollection
attributes)
842
internal static void GenerateMessageBodyMemberAttribute(int order, MessagePartDescription setting,
CodeAttributeDeclarationCollection
attributes, XmlName defaultName)
847
internal static void GenerateMessageHeaderAttribute(MessageHeaderDescription setting,
CodeAttributeDeclarationCollection
attributes, XmlName defaultName)
855
static void GenerateMessageContractMemberAttribute<T>(int order, MessagePartDescription setting,
CodeAttributeDeclarationCollection
attrs, XmlName defaultName)
879
internal static void GenerateMessageParameterAttribute(MessagePartDescription setting,
CodeAttributeDeclarationCollection
attributes, XmlName defaultName, string defaultNS)
983
internal static CodeAttributeDeclaration FindOrCreateAttributeDeclaration<T>(
CodeAttributeDeclarationCollection
attributes)
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (7)
152
private void AddKnownTypes(
CodeAttributeDeclarationCollection
destination,
CodeAttributeDeclarationCollection
source)
194
CodeAttributeDeclarationCollection
additionalAttributes = new CodeAttributeDeclarationCollection();
240
public void AddMemberAttributes(XmlName messageName, MessagePartDescription part,
CodeAttributeDeclarationCollection
importedAttributes,
CodeAttributeDeclarationCollection
typeAttributes,
CodeAttributeDeclarationCollection
fieldAttributes)
245
public void AddTypeAttributes(string messageName, string typeNS,
CodeAttributeDeclarationCollection
typeAttributes, bool isEncoded)
System.Web (3)
Compilation\BaseCodeDomTreeGenerator.cs (2)
541
Type propType, MemberAttributes attributes,
CodeAttributeDeclarationCollection
attrDeclarations) {
566
Type propType, bool fStatic,
CodeAttributeDeclarationCollection
attrDeclarations) {
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
458
CodeAttributeDeclarationCollection
attrDeclarations = new CodeAttributeDeclarationCollection();
System.Web.Extensions (1)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1772
private static bool IsDefinedInCodeAttributeCollection(Type type,
CodeAttributeDeclarationCollection
metadata)
System.Web.Services (31)
System\Web\Services\Description\HttpProtocolImporter.cs (4)
123
static void AppendMetadata(
CodeAttributeDeclarationCollection
from,
CodeAttributeDeclarationCollection
to) {
139
CodeAttributeDeclarationCollection
metadata = new CodeAttributeDeclarationCollection();
334
CodeAttributeDeclarationCollection
metadata = new CodeAttributeDeclarationCollection();
System\Web\Services\Description\MimeParameter.cs (2)
21
CodeAttributeDeclarationCollection
attrs;
33
internal
CodeAttributeDeclarationCollection
Attributes {
System\Web\Services\Description\MimeReturn.cs (2)
21
CodeAttributeDeclarationCollection
attrs;
33
internal
CodeAttributeDeclarationCollection
Attributes {
System\Web\Services\Description\MimeTextImporter.cs (1)
65
CodeAttributeDeclarationCollection
metadata = new CodeAttributeDeclarationCollection();
System\Web\Services\Description\ProtocolImporter.cs (1)
432
CodeAttributeDeclarationCollection
metadata = new CodeAttributeDeclarationCollection();
System\Web\Services\Description\SoapExtensionImporter.cs (1)
24
public abstract void ImportMethod(
CodeAttributeDeclarationCollection
metadata);
System\Web\Services\Description\SoapProtocolImporter.cs (6)
501
void EndMetadata(
CodeAttributeDeclarationCollection
metadata, Type attributeType, string parameter) {
514
void GenerateExtensionMetadata(
CodeAttributeDeclarationCollection
metadata) {
538
void GenerateHeaders(
CodeAttributeDeclarationCollection
metadata, SoapBindingUse use, bool rpc, MessageBinding requestMessage, MessageBinding responseMessage) {
673
CodeAttributeDeclarationCollection
metadata = new CodeAttributeDeclarationCollection();
778
CodeAttributeDeclarationCollection
[] paramsMetadata = new
CodeAttributeDeclarationCollection
[parameters.Parameters.Count + parameters.CheckSpecifiedCount];
System\Web\Services\Description\WebCodeGenerator.cs (14)
104
internal static CodeTypeMember AddMember(CodeTypeDeclaration codeClass, string typeName, string memberName, CodeExpression initializer,
CodeAttributeDeclarationCollection
metadata, CodeFlags flags, CodeGenerationOptions options) {
136
internal static CodeConstructor AddConstructor(CodeTypeDeclaration codeClass, string[] parameterTypeNames, string[] parameterNames,
CodeAttributeDeclarationCollection
metadata, CodeFlags flags) {
157
string returnTypeName,
CodeAttributeDeclarationCollection
metadata, CodeFlags flags) {
160
parameterTypeNames, parameterNames, new
CodeAttributeDeclarationCollection
[0],
166
CodeAttributeDeclarationCollection
[] parameterAttributes, string returnTypeName,
CodeAttributeDeclarationCollection
metadata, CodeFlags flags) {
199
internal static CodeTypeDeclaration AddClass(CodeNamespace codeNamespace, string className, string baseClassName, string[] implementedInterfaceNames,
CodeAttributeDeclarationCollection
metadata, CodeFlags flags, bool isPartial) {
205
internal static CodeTypeDeclaration CreateClass(string className, string baseClassName, string[] implementedInterfaceNames,
CodeAttributeDeclarationCollection
metadata, CodeFlags flags, bool isPartial) {
232
internal static
CodeAttributeDeclarationCollection
AddCustomAttribute(
CodeAttributeDeclarationCollection
metadata, Type type, CodeAttributeArgument[] arguments) {
239
internal static
CodeAttributeDeclarationCollection
AddCustomAttribute(
CodeAttributeDeclarationCollection
metadata, Type type, CodeExpression[] arguments) {
243
internal static
CodeAttributeDeclarationCollection
AddCustomAttribute(
CodeAttributeDeclarationCollection
metadata, Type type, CodeExpression[] parameters, string[] propNames, CodeExpression[] propValues) {
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
356
CodeAttributeDeclarationCollection
attributeDecls = new CodeAttributeDeclarationCollection();
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
137
internal static Attribute[] LoadCustomAttributes(
CodeAttributeDeclarationCollection
codeAttributeCollection, DesignTimeType declaringType)
System.Xml (24)
System\Xml\Serialization\CodeExporter.cs (5)
35
CodeAttributeDeclarationCollection
includeMetadata = new CodeAttributeDeclarationCollection();
116
internal static CodeAttributeDeclaration FindAttributeDeclaration(Type type,
CodeAttributeDeclarationCollection
metadata) {
140
public
CodeAttributeDeclarationCollection
IncludeMetadata {
235
internal void AddTypeMetadata(
CodeAttributeDeclarationCollection
metadata, Type type, string defaultName, string name, string ns, bool includeInSchema) {
256
internal static void AddIncludeMetadata(
CodeAttributeDeclarationCollection
metadata, StructMapping mapping, Type type) {
System\Xml\Serialization\SoapCodeExporter.cs (4)
181
public void AddMappingMetadata(
CodeAttributeDeclarationCollection
metadata, XmlMemberMapping member, bool forceUseMemberName) {
189
public void AddMappingMetadata(
CodeAttributeDeclarationCollection
metadata, XmlMemberMapping member) {
193
void AddElementMetadata(
CodeAttributeDeclarationCollection
metadata, string elementName, TypeDesc typeDesc, bool isNullable) {
207
void AddMemberMetadata(
CodeAttributeDeclarationCollection
metadata, MemberMapping member, bool forceUseMemberName) {
System\Xml\Serialization\XmlCodeExporter.cs (15)
166
void AddRootMetadata(
CodeAttributeDeclarationCollection
metadata, TypeMapping typeMapping, string name, string ns, ElementAccessor rootElement) {
373
void AddDefaultValueAttribute(CodeMemberField field,
CodeAttributeDeclarationCollection
metadata, object defaultValue, TypeMapping mapping, CodeCommentStatementCollection comments, TypeDesc memberTypeDesc, Accessor accessor, CodeConstructor ctor) {
570
public void AddMappingMetadata(
CodeAttributeDeclarationCollection
metadata, XmlTypeMapping mapping, string ns) {
584
public void AddMappingMetadata(
CodeAttributeDeclarationCollection
metadata, XmlMemberMapping member, string ns, bool forceUseMemberName) {
592
public void AddMappingMetadata(
CodeAttributeDeclarationCollection
metadata, XmlMemberMapping member, string ns) {
596
void ExportArrayElements(
CodeAttributeDeclarationCollection
metadata, ArrayMapping array, string ns, TypeDesc elementTypeDesc, int nestingLevel) {
613
void AddMemberMetadata(CodeMemberField field,
CodeAttributeDeclarationCollection
metadata, MemberMapping member, string ns, bool forceUseMemberName, CodeCommentStatementCollection comments, CodeConstructor ctor) {
748
void ExportText(
CodeAttributeDeclarationCollection
metadata, TypeDesc typeDesc, string dataType) {
759
void ExportAttribute(
CodeAttributeDeclarationCollection
metadata, string name, string ns, TypeDesc typeDesc, TypeDesc dataTypeDesc, XmlSchemaForm form) {
763
void ExportArrayItem(
CodeAttributeDeclarationCollection
metadata, string name, string ns, TypeDesc typeDesc, TypeDesc dataTypeDesc, bool isNullable, XmlSchemaForm form, int nestingLevel) {
767
void ExportElement(
CodeAttributeDeclarationCollection
metadata, string name, string ns, TypeDesc typeDesc, TypeDesc dataTypeDesc, bool isNullable, XmlSchemaForm form, int sequenceId) {
771
void ExportArray(
CodeAttributeDeclarationCollection
metadata, string name, string ns, bool isNullable, XmlSchemaForm form, int sequenceId) {
775
void ExportMetadata(
CodeAttributeDeclarationCollection
metadata, Type attributeType, string name, string ns, TypeDesc typeDesc, TypeDesc dataTypeDesc, object isNullable, XmlSchemaForm form, int nestingLevel, int sequenceId) {
815
void ExportAnyElement(
CodeAttributeDeclarationCollection
metadata, string name, string ns, int sequenceId) {
829
void ExportAnyAttribute(
CodeAttributeDeclarationCollection
metadata) {
XamlBuildTask (4)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (4)
172
CodeAttributeDeclarationCollection
attributeCollection = GetAttributeDeclarations(classData.Attributes, classData);
205
CodeAttributeDeclarationCollection
GetAttributeDeclarations(IList<AttributeData> attributes, ClassData classData)
207
CodeAttributeDeclarationCollection
attributeCollection = new CodeAttributeDeclarationCollection();
948
CodeAttributeDeclarationCollection
attributeCollection = GetAttributeDeclarations(property.Attributes, classData);