15 writes to Any
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (1)
173
newAccessor.
Any
= this.Any;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (7)
1598
attribute.
Any
= (a.XmlAnyAttribute != null);
1689
element.
Any
= true;
1778
attribute.
Any
= a.XmlAnyAttribute != null;
1818
element.
Any
= true;
1933
element.
Any
= true;
2235
element.
Any
= true;
2255
element.
Any
= true;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
1169
any.
Any
= true;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (6)
151
accessor.
Any
= true;
219
accessor.
Any
= true;
358
accessor.
Any
= true;
1327
accessor.
Any
= true;
1340
anyAccessor.
Any
= true;
1599
accessor.
Any
= true;
41 references to Any
dotnet-svcutil-lib (41)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (1)
132
if (mapping.Accessor.
Any
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (2)
127
if (
Any
)
173
newAccessor.Any = this.
Any
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (4)
68
if (xmlTypeMapping.Accessor.
Any
) throw new InvalidOperationException(ResXml.XmlIllegalWildcard);
713
if (attribute.
Any
)
753
if (element.
Any
)
786
if (element.
Any
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlMemberMapping.cs (1)
36
get { return Accessor.
Any
; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (3)
308
if (accessor.
Any
&& accessor.Name.Length == 0)
1986
if (element.
Any
&& element.Name.Length == 0)
2013
if (element.
Any
&& element.Name.Length == 0)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (7)
118
ExportMapping(member.Elements[0].Mapping, member.Elements[0].Namespace, member.Elements[0].
Any
);
262
if (accessor.
Any
&& accessor.Name.Length == 0)
272
ExportElementMapping(element, accessor.Mapping, accessor.Namespace, accessor.
Any
);
738
else if (accessor.
Any
)
844
if (accessor.
Any
&& accessor.Name.Length == 0)
886
ExportElementMapping(element, (TypeMapping)accessor.Mapping, accessor.Namespace, accessor.
Any
);
1162
if (members[i].Attribute.
Any
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
212
if (mapping.Members.Length != 1 || !mapping.Members[0].Accessor.
Any
)
1412
if (itemAccessor.
Any
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (1)
326
if (mapping.Accessor.
Any
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (10)
2909
if (!elements[0].
Any
&& !elements[0].Mapping.TypeDesc.UseReflection && !elements[0].Mapping.TypeDesc.IsOptionalValue)
2933
if (element.
Any
)
2968
WriteElement(element.
Any
? source : castedSource, element, arrayName, writeAccessors);
2986
WriteElement(element.
Any
? source : castedSource, element, arrayName, writeAccessors);
3172
string ns = element.
Any
&& element.Name.Length == 0 ? null : (element.Form == XmlSchemaForm.Qualified ? (writeAccessor ? element.Namespace : element.Mapping.Namespace) : "");
3185
WriteElement(e.
Any
? source : castedSource, e, arrayName, writeAccessor);
3409
WriteElementCall("WriteSerializable", typeof(IXmlSerializable), source, name, ns, element.IsNullable, !element.
Any
);
3424
WriteElementCall("WriteElementLiteral", typeof(XmlNode), source, name, ns, element.IsNullable, element.
Any
);
3667
if (element.
Any
&& element.Name.Length == 0)
3697
if (element.
Any
&& element.Name.Length == 0)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (10)
1654
if (!elements[0].
Any
&& !elements[0].Mapping.TypeDesc.IsOptionalValue)
1678
if (element.
Any
)
1716
WriteElement(element.
Any
? source : castedSource, element, arrayName, writeAccessors);
1729
WriteElement(element.
Any
? source : castedSource, element, arrayName, writeAccessors);
2011
string ns = element.
Any
&& element.Name.Length == 0 ? null : (element.Form == XmlSchemaForm.Qualified ? (writeAccessor ? element.Namespace : element.Mapping.Namespace) : "");
2037
WriteElement(e.
Any
? source : castedSource, e, arrayName, writeAccessor);
2144
WriteElementCall("WriteSerializable", typeof(IXmlSerializable), source, name, ns, element.IsNullable, !element.
Any
);
2163
WriteElementCall("WriteElementLiteral", typeof(XmlNode), source, name, ns, element.IsNullable, element.
Any
);
2383
if (element.
Any
&& element.Name.Length == 0)
2409
if (element.
Any
&& element.Name.Length == 0)