43 instantiations of XAttribute
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\View\NamespaceDisplayAutomationPeer.cs (2)
28
new
XAttribute
("Status", namespaceDisplay.IsInvalid ? "Invalid" : "Valid"),
29
new
XAttribute
("ErrorMessage", namespaceDisplay.ErrorMessage));
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierDesigner.xaml.cs (2)
204
new
XAttribute
("Status", vbIdentifier.IsValid ? "Valid" : "Invalid"),
205
new
XAttribute
("WarningMessage", vbIdentifier.ErrorMessage));
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditorAutomationPeer.cs (3)
27
new
XAttribute
("Status", textBox.HasErrors ? "Invalid" : "Valid"),
28
new
XAttribute
("EditingState", textBox.EditingState.ToString()),
29
new
XAttribute
("ErrorMessage", String.IsNullOrEmpty(textBox.ErrorMessage) ? String.Empty : textBox.ErrorMessage));
System.Data.Services.Design (1)
System\Data\EntityModel\EntityClassGenerator.cs (1)
553
e.Add(new
XAttribute
(newNamespace.GetName(attribute.Name.LocalName), attribute.Value));
System.ServiceModel.Web (23)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (23)
77
new XElement(HtmlTdElementName, new
XAttribute
(HtmlTitleAttributeName, BuildFullUriTemplate(baseUri, operationHelpInfo.UriTemplate)),
79
new
XAttribute
(HtmlRelAttributeName, HtmlOperationClass),
80
new
XAttribute
(HtmlHrefAttributeName, String.Format(CultureInfo.InvariantCulture, HelpOperationPageUrl, operationHelpInfo.Name)), operationHelpInfo.Method)),
89
firstTr.Descendants(HtmlTdElementName).First().Add(new
XAttribute
(HtmlRowspanAttributeName, rowspan));
99
firstTr.Descendants(HtmlTdElementName).First().Add(new
XAttribute
(HtmlRowspanAttributeName, rowspan));
101
document.Descendants(HtmlBodyElementName).First().Add(new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
102
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageOperationsAt, baseUri)),
120
XElement div = new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
121
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageReferenceFor, BuildFullUriTemplate(baseUri, operationInfo.UriTemplate))),
144
XElement div = new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
145
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageTitleText)));
162
XElement div = new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
163
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageRequestErrorTitle)));
201
XElement div = new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
202
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageTitleText)));
219
XElement div = new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
220
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageTitleText)),
272
contentTd.Add(new XElement(HtmlAElementName, new
XAttribute
(HtmlHrefAttributeName, "#" + (isRequest ? HtmlRequestXmlId : HtmlResponseXmlId)), SR2.GetString(SR2.HelpPageExample)));
280
contentTd.Add(new XElement(HtmlAElementName, new
XAttribute
(HtmlHrefAttributeName, "#" + (isRequest ? HtmlRequestSchemaId : HtmlResponseSchemaId)), SR2.GetString(SR2.HelpPageSchema)));
289
new XElement(HtmlAElementName, new
XAttribute
(HtmlHrefAttributeName, "#" + (isRequest ? HtmlRequestJsonId : HtmlResponseJsonId)), SR2.GetString(SR2.HelpPageExample)))));
361
new XElement(HtmlPreElementName, new
XAttribute
(HtmlClassAttributeName, label), content));
366
new XElement(HtmlAElementName, new
XAttribute
(HtmlNameAttributeName, label), title),
367
new XElement(HtmlPreElementName, new
XAttribute
(HtmlClassAttributeName, label), content));
System.Xml.Linq (10)
System\Xml\Linq\XLinq.cs (8)
3039
e.AppendAttributeSkipNotify(new
XAttribute
(aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value));
3113
XAttribute a = new
XAttribute
(aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value);
3514
AppendAttributeSkipNotify(new
XAttribute
(a));
4358
AppendAttribute(new
XAttribute
(name, value));
4975
if (a.parent != null) a = new
XAttribute
(a);
4981
if (a.parent != null) a = new
XAttribute
(a);
5084
XAttribute a = new
XAttribute
(XNamespace.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value);
7927
XAttribute a = new
XAttribute
(attrName, attrValue);
System\Xml\Linq\XNodeNavigator.cs (1)
760
System.Threading.Interlocked.CompareExchange(ref XmlNamespaceDeclaration, new
XAttribute
(XNamespace.Xmlns.GetName("xml"), XNamespace.xmlPrefixNamespace), null);
System\Xml\Linq\XNodeValidator.cs (1)
234
a = new
XAttribute
(XNamespace.Get(sa.QualifiedName.Namespace).GetName(sa.QualifiedName.Name), GetDefaultValue(sa));
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\GenerateTemporaryAssemblyTask.cs (2)
159
XAttribute include = new
XAttribute
("Include", item.ItemSpec);
181
newResource.Add(new
XAttribute
("Include", item.ItemSpec));
309 references to XAttribute
System.Data.Services.Client (2)
System\Data\Services\Client\AtomMaterializer.cs (1)
1495
var
attribute = element.Attribute(XName.Get(localName, item.SegmentNamespaceUri));
System\Data\Services\Client\XmlUtil.cs (1)
244
foreach (
var
attribute in e.Attributes())
System.Data.Services.Design (13)
System\Data\EntityModel\EntityClassGenerator.cs (6)
468
XAttribute
version = dataServiceElement.Attributes(metadataNs + XmlConstants.HttpDataServiceVersion).FirstOrDefault();
517
List<
XAttribute
> attributesToReplace = null;
518
foreach (
XAttribute
attribute in e.Attributes())
536
foreach (
XAttribute
attribute in attributesToReplace)
540
XAttribute
existingAttribute = e.Attributes().SingleOrDefault(a => a.Name.NamespaceName == XmlConstants.EdmV1dot2Namespace && a.Name.LocalName == attribute.Name.LocalName);
613
private static bool IsOpenTypeAttribute(
XAttribute
attribute)
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (7)
216
private static bool IsAttributeExpected(
XAttribute
attribute, XmlSchemaAnyAttribute anyAttribute, XmlSchemaAttribute[] expectedAttributes)
294
foreach (
XAttribute
attribute in element.Attributes())
323
foreach (
XAttribute
attribute in element.Attributes())
356
foreach (
XAttribute
attribute in element.Attributes())
405
List<
XAttribute
> unexpectedAttributes = null;
407
foreach (
XAttribute
attribute in element.Attributes())
422
foreach (
var
attribute in unexpectedAttributes)
System.Xml.Linq (293)
System\Xml\Linq\XComponentModel.cs (13)
43
else if (typeof(T) == typeof(
XAttribute
)) {
118
XDeferredSingleton<
XAttribute
> value;
119
XAttribute
changeState;
125
return value = new XDeferredSingleton<
XAttribute
>((e, n) => e.Attribute(n), component as XElement, null);
132
XAttribute
a = sender as
XAttribute
;
138
a = sender as
XAttribute
;
151
XAttribute
a = sender as
XAttribute
;
369
class XAttributeValuePropertyDescriptor : XPropertyDescriptor<
XAttribute
, string>
371
XAttribute
attribute;
381
attribute = component as
XAttribute
;
387
attribute = component as
XAttribute
;
System\Xml\Linq\XLinq.cs (238)
1455
/// Note that an <see cref="
XAttribute
"/> is not an <see cref="XNode"/>.
2435
XAttribute
a = content as
XAttribute
;
2604
/// include <see cref="
XAttribute
"/>s.
2609
/// that the content does not include <see cref="
XAttribute
"/>s.
2707
internal virtual void AddAttribute(
XAttribute
a) {
2710
internal virtual void AddAttributeSkipNotify(
XAttribute
a) {
2725
XAttribute
a = content as
XAttribute
;
3113
XAttribute
a = new XAttribute(aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value);
3352
if (content is
XAttribute
) throw new ArgumentException(Res.GetString(Res.Argument_AddAttribute));
3456
internal
XAttribute
lastAttr;
3510
XAttribute
a = other.lastAttr;
3545
public
XAttribute
FirstAttribute {
3582
public
XAttribute
LastAttribute {
3675
/// Returns the <see cref="
XAttribute
"/> associated with this <see cref="XElement"/> that has this
3679
/// The <see cref="XName"/> of the <see cref="
XAttribute
"/> to get.
3682
/// The <see cref="
XAttribute
"/> with the <see cref="XName"/> passed in. If there is no <see cref="
XAttribute
"/>
3685
public
XAttribute
Attribute(XName name) {
3686
XAttribute
a = lastAttr;
3697
/// Returns the <see cref="
XAttribute
"/> associated with this <see cref="XElement"/>. Optionally
3698
/// an <see cref="XName"/> can be given to target a specific <see cref="
XAttribute
"/>(s).
3701
/// Returns all of the <see cref="
XAttribute
"/>s associated with this <see cref="XElement"/>.
3705
/// An <see cref="IEnumerable"/> of <see cref="
XAttribute
"/> containing all of the <see cref="
XAttribute
"/>s
3708
public IEnumerable<
XAttribute
> Attributes() {
3713
/// Returns the <see cref="
XAttribute
"/>(s) associated with this <see cref="XElement"/> that has the passed
3718
/// The <see cref="XName"/> of the targeted <see cref="
XAttribute
"/>.
3721
/// The <see cref="
XAttribute
"/>(s) with the matching
3723
public IEnumerable<
XAttribute
> Attributes(XName name) {
3724
return name != null ? GetAttributes(name) :
XAttribute
.EmptySequence;
3804
XAttribute
a = e.lastAttr;
4111
XAttribute
a = lastAttr.next;
4333
/// <seealso cref="
XAttribute
.SetValue"/>
4349
XAttribute
a = Attribute(name);
4368
/// <seealso cref="
XAttribute
.SetValue"/>
4400
/// <seealso cref="
XAttribute
.SetValue"/>
4973
internal override void AddAttribute(
XAttribute
a) {
4979
internal override void AddAttributeSkipNotify(
XAttribute
a) {
4985
internal void AppendAttribute(
XAttribute
a) {
4992
internal void AppendAttributeSkipNotify(
XAttribute
a) {
5005
XAttribute
a1 = lastAttr;
5006
XAttribute
a2 = e.lastAttr;
5027
IEnumerable<
XAttribute
> GetAttributes(XName name) {
5028
XAttribute
a = lastAttr;
5040
XAttribute
a = e.lastAttr;
5056
XAttribute
a = lastAttr;
5084
XAttribute
a = new XAttribute(XNamespace.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value);
5099
internal void RemoveAttribute(
XAttribute
a) {
5102
XAttribute
p = lastAttr, n;
5118
XAttribute
a = lastAttr;
5120
XAttribute
next = a.next;
5199
XAttribute
a = e.lastAttr;
5213
XAttribute
a = e.lastAttr;
5238
XAttribute
a = e.lastAttr;
5955
internal override void AddAttribute(
XAttribute
a) {
5959
internal override void AddAttributeSkipNotify(
XAttribute
a) {
6533
[System.ComponentModel.TypeDescriptionProvider(typeof(MS.Internal.Xml.Linq.ComponentModel.XTypeDescriptionProvider<
XAttribute
>))]
6538
static IEnumerable<
XAttribute
> emptySequence;
6543
public static IEnumerable<
XAttribute
> EmptySequence {
6545
if (emptySequence == null) emptySequence = new
XAttribute
[0];
6550
internal
XAttribute
next;
6555
/// Initializes a new instance of the <see cref="
XAttribute
"/> class.
6558
/// Initializes a new instance of the <see cref="
XAttribute
"/> class from
6583
/// <param name="other"><see cref="
XAttribute
"/> object to copy from.</param>
6585
/// Thrown if the specified <see cref="
XAttribute
"/> is null.
6587
public XAttribute(
XAttribute
other) {
6620
public
XAttribute
NextAttribute {
6643
public
XAttribute
PreviousAttribute {
6646
XAttribute
a = ((XElement)parent).lastAttr;
6685
/// Sets the value of this <see cref="
XAttribute
"/>.
6703
/// Override for <see cref="ToString()"/> on <see cref="
XAttribute
"/>
6718
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="string"/>.
6721
/// The <see cref="
XAttribute
"/> to cast to <see cref="string"/>.
6724
/// The content of this <see cref="
XAttribute
"/> as a <see cref="string"/>.
6727
public static explicit operator string(
XAttribute
attribute) {
6733
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="bool"/>.
6736
/// The <see cref="
XAttribute
"/> to cast to <see cref="bool"/>.
6739
/// The content of this <see cref="
XAttribute
"/> as a <see cref="bool"/>.
6745
public static explicit operator bool(
XAttribute
attribute) {
6751
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="bool"/>?.
6754
/// The <see cref="
XAttribute
"/> to cast to <see cref="bool"/>?. Can be null.
6757
/// The content of this <see cref="
XAttribute
"/> as a <see cref="bool"/>?.
6760
public static explicit operator bool?(
XAttribute
attribute) {
6766
/// Cast the value of this <see cref="
XAttribute
"/> to an <see cref="int"/>.
6769
/// The <see cref="
XAttribute
"/> to cast to <see cref="int"/>.
6772
/// The content of this <see cref="
XAttribute
"/> as an <see cref="int"/>.
6778
public static explicit operator int(
XAttribute
attribute) {
6784
/// Cast the value of this <see cref="
XAttribute
"/> to an <see cref="int"/>?.
6787
/// The <see cref="
XAttribute
"/> to cast to <see cref="int"/>?. Can be null.
6790
/// The content of this <see cref="
XAttribute
"/> as an <see cref="int"/>?.
6793
public static explicit operator int?(
XAttribute
attribute) {
6799
/// Cast the value of this <see cref="
XAttribute
"/> to an <see cref="uint"/>.
6802
/// The <see cref="
XAttribute
"/> to cast to <see cref="uint"/>.
6805
/// The content of this <see cref="
XAttribute
"/> as an <see cref="uint"/>.
6811
public static explicit operator uint(
XAttribute
attribute) {
6817
/// Cast the value of this <see cref="
XAttribute
"/> to an <see cref="uint"/>?.
6820
/// The <see cref="
XAttribute
"/> to cast to <see cref="uint"/>?. Can be null.
6823
/// The content of this <see cref="
XAttribute
"/> as an <see cref="uint"/>?.
6826
public static explicit operator uint?(
XAttribute
attribute) {
6832
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="long"/>.
6835
/// The <see cref="
XAttribute
"/> to cast to <see cref="long"/>.
6838
/// The content of this <see cref="
XAttribute
"/> as a <see cref="long"/>.
6844
public static explicit operator long(
XAttribute
attribute) {
6850
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="long"/>?.
6853
/// The <see cref="
XAttribute
"/> to cast to <see cref="long"/>?. Can be null.
6856
/// The content of this <see cref="
XAttribute
"/> as a <see cref="long"/>?.
6859
public static explicit operator long?(
XAttribute
attribute) {
6865
/// Cast the value of this <see cref="
XAttribute
"/> to an <see cref="ulong"/>.
6868
/// The <see cref="
XAttribute
"/> to cast to <see cref="ulong"/>.
6871
/// The content of this <see cref="
XAttribute
"/> as an <see cref="ulong"/>.
6877
public static explicit operator ulong(
XAttribute
attribute) {
6883
/// Cast the value of this <see cref="
XAttribute
"/> to an <see cref="ulong"/>?.
6886
/// The <see cref="
XAttribute
"/> to cast to <see cref="ulong"/>?. Can be null.
6889
/// The content of this <see cref="
XAttribute
"/> as an <see cref="ulong"/>?.
6892
public static explicit operator ulong?(
XAttribute
attribute) {
6898
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="float"/>.
6901
/// The <see cref="
XAttribute
"/> to cast to <see cref="float"/>.
6904
/// The content of this <see cref="
XAttribute
"/> as a <see cref="float"/>.
6910
public static explicit operator float(
XAttribute
attribute) {
6916
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="float"/>?.
6919
/// The <see cref="
XAttribute
"/> to cast to <see cref="float"/>?. Can be null.
6922
/// The content of this <see cref="
XAttribute
"/> as a <see cref="float"/>?.
6925
public static explicit operator float?(
XAttribute
attribute) {
6931
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="double"/>.
6934
/// The <see cref="
XAttribute
"/> to cast to <see cref="double"/>.
6937
/// The content of this <see cref="
XAttribute
"/> as a <see cref="double"/>.
6943
public static explicit operator double(
XAttribute
attribute) {
6949
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="double"/>?.
6952
/// The <see cref="
XAttribute
"/> to cast to <see cref="double"/>?. Can be null.
6955
/// The content of this <see cref="
XAttribute
"/> as a <see cref="double"/>?.
6958
public static explicit operator double?(
XAttribute
attribute) {
6964
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="decimal"/>.
6967
/// The <see cref="
XAttribute
"/> to cast to <see cref="decimal"/>.
6970
/// The content of this <see cref="
XAttribute
"/> as a <see cref="decimal"/>.
6976
public static explicit operator decimal(
XAttribute
attribute) {
6982
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="decimal"/>?.
6985
/// The <see cref="
XAttribute
"/> to cast to <see cref="decimal"/>?. Can be null.
6988
/// The content of this <see cref="
XAttribute
"/> as a <see cref="decimal"/>?.
6991
public static explicit operator decimal?(
XAttribute
attribute) {
6997
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="DateTime"/>.
7000
/// The <see cref="
XAttribute
"/> to cast to <see cref="DateTime"/>.
7003
/// The content of this <see cref="
XAttribute
"/> as a <see cref="DateTime"/>.
7009
public static explicit operator DateTime(
XAttribute
attribute) {
7015
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="DateTime"/>?.
7018
/// The <see cref="
XAttribute
"/> to cast to <see cref="DateTime"/>?. Can be null.
7021
/// The content of this <see cref="
XAttribute
"/> as a <see cref="DateTime"/>?.
7024
public static explicit operator DateTime?(
XAttribute
attribute) {
7030
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="DateTimeOffset"/>.
7033
/// The <see cref="
XAttribute
"/> to cast to <see cref="DateTimeOffset"/>.
7036
/// The content of this <see cref="
XAttribute
"/> as a <see cref="DateTimeOffset"/>.
7042
public static explicit operator DateTimeOffset(
XAttribute
attribute) {
7048
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="DateTimeOffset"/>?.
7051
/// The <see cref="
XAttribute
"/> to cast to <see cref="DateTimeOffset"/>?. Can be null.
7054
/// The content of this <see cref="
XAttribute
"/> as a <see cref="DateTimeOffset"/>?.
7057
public static explicit operator DateTimeOffset?(
XAttribute
attribute) {
7063
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="TimeSpan"/>.
7066
/// The <see cref="
XAttribute
"/> to cast to <see cref="TimeSpan"/>.
7069
/// The content of this <see cref="
XAttribute
"/> as a <see cref="TimeSpan"/>.
7075
public static explicit operator TimeSpan(
XAttribute
attribute) {
7081
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="TimeSpan"/>?.
7084
/// The <see cref="
XAttribute
"/> to cast to <see cref="TimeSpan"/>?. Can be null.
7087
/// The content of this <see cref="
XAttribute
"/> as a <see cref="TimeSpan"/>?.
7090
public static explicit operator TimeSpan?(
XAttribute
attribute) {
7096
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="Guid"/>.
7099
/// The <see cref="
XAttribute
"/> to cast to <see cref="Guid"/>.
7102
/// The content of this <see cref="
XAttribute
"/> as a <see cref="Guid"/>.
7108
public static explicit operator Guid(
XAttribute
attribute) {
7114
/// Cast the value of this <see cref="
XAttribute
"/> to a <see cref="Guid"/>?.
7117
/// The <see cref="
XAttribute
"/> to cast to <see cref="Guid"/>?. Can be null.
7120
/// The content of this <see cref="
XAttribute
"/> as a <see cref="Guid"/>?.
7123
public static explicit operator Guid?(
XAttribute
attribute) {
7400
List<
XAttribute
> attributes;
7406
attributes = new List<
XAttribute
>();
7415
foreach (
XAttribute
a in attributes) {
7438
foreach (
XAttribute
a in attributes) {
7457
XAttribute
a = content as
XAttribute
;
7480
void WriteAttribute(
XAttribute
a) {
7517
/// Returns all of the <see cref="
XAttribute
"/>s for each <see cref="XElement"/> of
7521
/// An <see cref="IEnumerable"/> of <see cref="
XAttribute
"/> containing the XML
7525
public static IEnumerable<
XAttribute
> Attributes(this IEnumerable<XElement> source) {
7531
/// Returns the <see cref="
XAttribute
"/>s that have a matching <see cref="XName"/>. Each
7532
/// <see cref="XElement"/>'s <see cref="
XAttribute
"/>s in the target <see cref="IEnumerable"/>
7536
/// An <see cref="IEnumerable"/> of <see cref="
XAttribute
"/> containing the XML
7540
public static IEnumerable<
XAttribute
> Attributes(this IEnumerable<XElement> source, XName name) {
7542
return name != null ? GetAttributes(source, name) :
XAttribute
.EmptySequence;
7756
/// Removes each <see cref="
XAttribute
"/> represented in this <see cref="IEnumerable"/> of
7757
/// <see cref="
XAttribute
"/>. Note that this method uses snapshot semantics (copies the
7760
public static void Remove(this IEnumerable<
XAttribute
> source) {
7762
foreach (
XAttribute
a in new List<
XAttribute
>(source))
7777
static IEnumerable<
XAttribute
> GetAttributes(IEnumerable<XElement> source, XName name) {
7780
XAttribute
a = e.lastAttr;
7927
XAttribute
a = new XAttribute(attrName, attrValue);
8098
XAttribute
a = e.lastAttr;
8224
XAttribute
a = source as
XAttribute
;
8261
XAttribute
a = source as
XAttribute
;
8318
XAttribute
a = source as
XAttribute
;
8349
return ((
XAttribute
)o).Value;
8376
XAttribute
a = e.Attribute(name);
8396
XAttribute
a = e.Attribute(name);
8429
XAttribute
a = e.lastAttr;
8471
XAttribute
a = e.lastAttr;
8498
XAttribute
a = e.lastAttr;
8538
XAttribute
a = e.lastAttr;
8574
XAttribute
a = e.lastAttr;
8603
XAttribute
a = e.lastAttr;
8625
XAttribute
a = source as
XAttribute
;
8627
a = parent as
XAttribute
;
8689
XAttribute
a = source as
XAttribute
;
8691
a = parent as
XAttribute
;
8735
XAttribute
a = source as
XAttribute
;
8944
XAttribute
a = source as
XAttribute
;
8948
a = parent as
XAttribute
;
8964
XAttribute
a = source as
XAttribute
;
8972
a = parent as
XAttribute
;
9012
XAttribute
a = source as
XAttribute
;
9057
bool ReadIntoAttribute(
XAttribute
a) {
9063
bool ReadOverAttribute(
XAttribute
a, bool skipContent) {
9100
if (parent is
XAttribute
) {
9101
XAttribute
a = (
XAttribute
)parent;
9119
bool IsDuplicateNamespaceAttribute(
XAttribute
candidateAttribute) {
9129
bool IsDuplicateNamespaceAttributeInner(
XAttribute
candidateAttribute) {
9152
XAttribute
a = element.lastAttr;
9183
XAttribute
GetFirstNonDuplicateNamespaceAttribute(
XAttribute
candidate) {
System\Xml\Linq\XNodeNavigator.cs (29)
37
static
XAttribute
XmlNamespaceDeclaration;
75
XAttribute
a = e.lastAttr;
128
XAttribute
a = source as
XAttribute
;
161
XAttribute
a = source as
XAttribute
;
214
XAttribute
a = source as
XAttribute
;
246
return ((
XAttribute
)o).Value;
294
XAttribute
a = e.lastAttr;
367
XAttribute
a = e.lastAttr;
408
XAttribute
a = null;
448
XAttribute
a = GetFirstNamespaceDeclarationGlobal(e);
527
XAttribute
a = source as
XAttribute
;
544
XAttribute
a = source as
XAttribute
;
696
static bool IsXmlNamespaceDeclaration(
XAttribute
a) {
704
static
XAttribute
GetFirstNamespaceDeclarationGlobal(XElement e) {
706
XAttribute
a = GetFirstNamespaceDeclarationLocal(e);
715
static
XAttribute
GetFirstNamespaceDeclarationLocal(XElement e) {
716
XAttribute
a = e.lastAttr;
728
static
XAttribute
GetNextNamespaceDeclarationGlobal(
XAttribute
a) {
733
XAttribute
next = GetNextNamespaceDeclarationLocal(a);
744
static
XAttribute
GetNextNamespaceDeclarationLocal(
XAttribute
a) {
758
static
XAttribute
GetXmlNamespaceDeclaration() {
765
static bool HasNamespaceDeclarationInScope(
XAttribute
a, XElement e) {
System\Xml\Linq\XNodeValidator.cs (13)
49
if (((
XAttribute
)source).IsNamespaceDeclaration) goto default;
69
ValidateAttribute((
XAttribute
)source);
146
XAttribute
a = e.lastAttr;
167
XAttribute
a = e.lastAttr;
202
void ValidateAttribute(
XAttribute
a) {
214
XAttribute
a = e.lastAttr;
372
/// Gets the schema information that has been assigned to the <see cref="
XAttribute
"/> as a result of schema validation.
376
public static IXmlSchemaInfo GetSchemaInfo(this
XAttribute
source) {
449
/// Validate a <see cref="
XAttribute
"/>
459
public static void Validate(this
XAttribute
source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler validationEventHandler) {
464
/// Validate a <see cref="
XAttribute
"/>
474
/// <param name="addSchemaInfo">If enabled the <see cref="
XAttribute
"/> is augmented with PSVI
478
public static void Validate(this
XAttribute
source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler validationEventHandler, bool addSchemaInfo) {
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\GenerateTemporaryAssemblyTask.cs (1)
159
XAttribute
include = new XAttribute("Include", item.ItemSpec);