7 instantiations of CodeAttributeDeclarationCollection
dotnet-svcutil-lib (7)
FrameworkFork\Microsoft.CodeDom\System\CodeCompileUnit.cs (1)
90
_attributes = new
CodeAttributeDeclarationCollection
();
FrameworkFork\Microsoft.CodeDom\System\CodeMemberMethod.cs (1)
163
_returnAttributes = new
CodeAttributeDeclarationCollection
();
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpression.cs (1)
80
_customAttributes = new
CodeAttributeDeclarationCollection
();
FrameworkFork\Microsoft.CodeDom\System\CodeTypeMember.cs (1)
88
_customAttributes = new
CodeAttributeDeclarationCollection
();
FrameworkFork\Microsoft.CodeDom\System\CodeTypeParameter.cs (1)
65
_customAttributes = new
CodeAttributeDeclarationCollection
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
28
private CodeAttributeDeclarationCollection _includeMetadata = new
CodeAttributeDeclarationCollection
();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
195
CodeAttributeDeclarationCollection additionalAttributes = new
CodeAttributeDeclarationCollection
();
99 references to CodeAttributeDeclarationCollection
dotnet-svcutil-lib (99)
CodeDomFixup\CodeDomHelpers.cs (1)
35
internal static CodeAttributeDeclaration FindAttribute<T>(
CodeAttributeDeclarationCollection
attrs)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
1175
protected virtual void OutputAttributeDeclarations(
CodeAttributeDeclarationCollection
attributes)
2136
protected abstract void GenerateAttributeDeclarationsStart(
CodeAttributeDeclarationCollection
attributes);
2143
protected abstract void GenerateAttributeDeclarationsEnd(
CodeAttributeDeclarationCollection
attributes);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (1)
177
private void ValidateAttributes(
CodeAttributeDeclarationCollection
attributes)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (5)
3480
private void GenerateAttributeDeclarationsStart(
CodeAttributeDeclarationCollection
attributes)
3490
private void GenerateAttributeDeclarationsEnd(
CodeAttributeDeclarationCollection
attributes)
3495
private void GenerateAttributes(
CodeAttributeDeclarationCollection
attributes)
3500
private void GenerateAttributes(
CodeAttributeDeclarationCollection
attributes, string prefix)
3505
private void GenerateAttributes(
CodeAttributeDeclarationCollection
attributes, string prefix, bool inLine)
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeDeclarationCollection.cs (14)
26
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/>.
35
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/> based on another <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/>.
38
public CodeAttributeDeclarationCollection(
CodeAttributeDeclarationCollection
value)
45
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/> containing any array of <see cref='Microsoft.CodeDom.CodeAttributeDeclaration'/> objects.
70
/// <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/> .</para>
78
/// <para>Copies the elements of an array to the end of the <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/>.</para>
94
/// Adds the contents of another <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/> to the end of the collection.
97
public void AddRange(
CodeAttributeDeclarationCollection
value)
112
/// <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/> contains the specified <see cref='Microsoft.CodeDom.CodeAttributeDeclaration'/>.</para>
120
/// <para>Copies the <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/> values to a one-dimensional <see cref='System.Array'/> instance at the
130
/// the <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/> .</para>
138
/// <para>Inserts a <see cref='Microsoft.CodeDom.CodeAttributeDeclaration'/> into the <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/> at the specified index.</para>
147
/// <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/> .</para>
FrameworkFork\Microsoft.CodeDom\System\CodeCompileUnit.cs (2)
29
private
CodeAttributeDeclarationCollection
_attributes = null;
84
public
CodeAttributeDeclarationCollection
AssemblyCustomAttributes
FrameworkFork\Microsoft.CodeDom\System\CodeMemberMethod.cs (2)
30
private
CodeAttributeDeclarationCollection
_returnAttributes = null;
157
public
CodeAttributeDeclarationCollection
ReturnTypeCustomAttributes
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpression.cs (2)
27
private
CodeAttributeDeclarationCollection
_customAttributes = null;
74
public
CodeAttributeDeclarationCollection
CustomAttributes
FrameworkFork\Microsoft.CodeDom\System\CodeTypeMember.cs (3)
29
private
CodeAttributeDeclarationCollection
_customAttributes = null;
77
/// Gets or sets a <see cref='Microsoft.CodeDom.
CodeAttributeDeclarationCollection
'/> indicating
82
public
CodeAttributeDeclarationCollection
CustomAttributes
FrameworkFork\Microsoft.CodeDom\System\CodeTypeParameter.cs (2)
22
private
CodeAttributeDeclarationCollection
_customAttributes;
59
public
CodeAttributeDeclarationCollection
CustomAttributes
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (5)
28
private
CodeAttributeDeclarationCollection
_includeMetadata = new CodeAttributeDeclarationCollection();
120
internal static CodeAttributeDeclaration FindAttributeDeclaration(Type type,
CodeAttributeDeclarationCollection
metadata)
149
public
CodeAttributeDeclarationCollection
IncludeMetadata
265
internal void AddTypeMetadata(
CodeAttributeDeclarationCollection
metadata, Type type, string defaultName, string name, string ns, bool includeInSchema)
293
internal static void AddIncludeMetadata(
CodeAttributeDeclarationCollection
metadata, StructMapping mapping, Type type)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (4)
192
public void AddMappingMetadata(
CodeAttributeDeclarationCollection
metadata, XmlMemberMapping member, bool forceUseMemberName)
201
public void AddMappingMetadata(
CodeAttributeDeclarationCollection
metadata, XmlMemberMapping member)
206
private void AddElementMetadata(
CodeAttributeDeclarationCollection
metadata, string elementName, TypeDesc typeDesc, bool isNullable)
224
private void AddMemberMetadata(
CodeAttributeDeclarationCollection
metadata, MemberMapping member, bool forceUseMemberName)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (15)
181
private void AddRootMetadata(
CodeAttributeDeclarationCollection
metadata, TypeMapping typeMapping, string name, string ns, ElementAccessor rootElement)
418
private void AddDefaultValueAttribute(CodeMemberField field,
CodeAttributeDeclarationCollection
metadata, object defaultValue, TypeMapping mapping, CodeCommentStatementCollection comments, TypeDesc memberTypeDesc, Accessor accessor, CodeConstructor ctor)
655
public void AddMappingMetadata(
CodeAttributeDeclarationCollection
metadata, XmlTypeMapping mapping, string ns)
670
public void AddMappingMetadata(
CodeAttributeDeclarationCollection
metadata, XmlMemberMapping member, string ns, bool forceUseMemberName)
679
public void AddMappingMetadata(
CodeAttributeDeclarationCollection
metadata, XmlMemberMapping member, string ns)
684
private void ExportArrayElements(
CodeAttributeDeclarationCollection
metadata, ArrayMapping array, string ns, TypeDesc elementTypeDesc, int nestingLevel)
703
private void AddMemberMetadata(CodeMemberField field,
CodeAttributeDeclarationCollection
metadata, MemberMapping member, string ns, bool forceUseMemberName, CodeCommentStatementCollection comments, CodeConstructor ctor)
857
private void ExportText(
CodeAttributeDeclarationCollection
metadata, TypeDesc typeDesc, string dataType)
871
private void ExportAttribute(
CodeAttributeDeclarationCollection
metadata, string name, string ns, TypeDesc typeDesc, TypeDesc dataTypeDesc, XmlSchemaForm form)
876
private void ExportArrayItem(
CodeAttributeDeclarationCollection
metadata, string name, string ns, TypeDesc typeDesc, TypeDesc dataTypeDesc, bool isNullable, XmlSchemaForm form, int nestingLevel)
881
private void ExportElement(
CodeAttributeDeclarationCollection
metadata, string name, string ns, TypeDesc typeDesc, TypeDesc dataTypeDesc, bool isNullable, XmlSchemaForm form, int sequenceId)
886
private void ExportArray(
CodeAttributeDeclarationCollection
metadata, string name, string ns, bool isNullable, XmlSchemaForm form, int sequenceId)
891
private void ExportMetadata(
CodeAttributeDeclarationCollection
metadata, Type attributeType, string name, string ns, TypeDesc typeDesc, TypeDesc dataTypeDesc, object isNullable, XmlSchemaForm form, int nestingLevel, int sequenceId)
943
private void ExportAnyElement(
CodeAttributeDeclarationCollection
metadata, string name, string ns, int sequenceId)
961
private void ExportAnyAttribute(
CodeAttributeDeclarationCollection
metadata)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
12
public static CodeAttributeDeclaration FindOrCreateAttributeDeclaration<T>(
CodeAttributeDeclarationCollection
attributes)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (4)
184
public void AddMemberAttributes(XmlName messageName, MessagePartDescription part,
CodeAttributeDeclarationCollection
attributesImported,
CodeAttributeDeclarationCollection
typeAttributes,
CodeAttributeDeclarationCollection
fieldAttributes)
229
public void AddTypeAttributes(string messageName, string typeNS,
CodeAttributeDeclarationCollection
typeAttributes, bool isEncoded)
FrameworkFork\System.ServiceModel\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
private Dictionary<MessagePartDescription,
CodeAttributeDeclarationCollection
> _parameterAttributes;
36
internal Dictionary<MessagePartDescription,
CodeAttributeDeclarationCollection
> ParameterAttributes
41
_parameterAttributes = new Dictionary<MessagePartDescription,
CodeAttributeDeclarationCollection
>();
401
CodeAttributeDeclarationCollection
AddPart(CodeTypeReference type, ref string name);
402
CodeAttributeDeclarationCollection
MessageLevelAttributes { get; }
470
private
CodeAttributeDeclarationCollection
_messageAttrs;
474
internal ParametersPartCodeGenerator(ParameterizedMethodGenerator parent, string methodName, CodeParameterDeclarationExpressionCollection parameters,
CodeAttributeDeclarationCollection
messageAttrs, FieldDirection direction)
492
CodeAttributeDeclarationCollection
IPartCodeGenerator.AddPart(CodeTypeReference type, ref string name)
525
CodeAttributeDeclarationCollection
IPartCodeGenerator.MessageLevelAttributes
561
CodeAttributeDeclarationCollection
IPartCodeGenerator.AddPart(CodeTypeReference type, ref string name)
571
CodeAttributeDeclarationCollection
IPartCodeGenerator.MessageLevelAttributes
683
private void AddWrapperPart(XmlName messageName, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, IPartCodeGenerator partGenerator, MessagePartDescription part,
CodeAttributeDeclarationCollection
typeAttributes)
691
CodeAttributeDeclarationCollection
fieldAttributes = partGenerator.AddPart(type, ref fieldName);
693
CodeAttributeDeclarationCollection
importedAttributes = null;
712
CodeAttributeDeclarationCollection
partAttributes = partCodeGenerator.AddPart(partType, ref partName);
732
CodeAttributeDeclarationCollection
partAttributes = parts.AddPart(partType, ref partName);
747
private void AddAdditionalAttributes(MessagePartDescription setting,
CodeAttributeDeclarationCollection
attributes, bool isAdditionalAttributesAllowed)
751
CodeAttributeDeclarationCollection
localAttributes = _parent._parameterAttributes[setting];
794
internal static void AddEditorBrowsableAttribute(
CodeAttributeDeclarationCollection
attributes)
837
internal static void GenerateMessageBodyMemberAttribute(int order, MessagePartDescription setting,
CodeAttributeDeclarationCollection
attributes, XmlName defaultName)
842
internal static void GenerateMessageHeaderAttribute(MessageHeaderDescription setting,
CodeAttributeDeclarationCollection
attributes, XmlName defaultName)
850
private static void GenerateMessageContractMemberAttribute<T>(int order, MessagePartDescription setting,
CodeAttributeDeclarationCollection
attrs, XmlName defaultName)
872
internal static void GenerateMessageParameterAttribute(MessagePartDescription setting,
CodeAttributeDeclarationCollection
attributes, XmlName defaultName, string defaultNS)
975
internal static CodeAttributeDeclaration FindOrCreateAttributeDeclaration<T>(
CodeAttributeDeclarationCollection
attributes)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (7)
153
private void AddKnownTypes(
CodeAttributeDeclarationCollection
destination,
CodeAttributeDeclarationCollection
source)
195
CodeAttributeDeclarationCollection
additionalAttributes = new CodeAttributeDeclarationCollection();
241
public void AddMemberAttributes(XmlName messageName, MessagePartDescription part,
CodeAttributeDeclarationCollection
importedAttributes,
CodeAttributeDeclarationCollection
typeAttributes,
CodeAttributeDeclarationCollection
fieldAttributes)
246
public void AddTypeAttributes(string messageName, string typeNS,
CodeAttributeDeclarationCollection
typeAttributes, bool isEncoded)