2 types derived from XObject
System.Private.Xml.Linq (2)
System\Xml\Linq\XAttribute.cs (1)
21public class XAttribute : XObject
System\Xml\Linq\XNode.cs (1)
29public abstract class XNode : XObject
70 references to XObject
Microsoft.AspNetCore.Mvc.Test (1)
MvcOptionsSetupTest.cs (1)
267Assert.Equal(typeof(XObject).FullName, excludeFilter.FullTypeName);
Microsoft.AspNetCore.OpenApi.SourceGenerators (2)
XmlComments\XmlComment.InheritDoc.cs (2)
417private static void CopyAnnotations(XObject source, XObject target)
Microsoft.CodeAnalysis (3)
Diagnostic\XmlLocation.cs (1)
36public static XmlLocation Create(XObject obj, string path)
InternalUtilities\XmlUtilities.cs (2)
60private static void CopyAnnotations(XObject source, XObject target)
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Extensions\ISymbolExtensions.cs (2)
607private static void CopyAnnotations(XObject source, XObject target)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Compilers\Core\Portable\InternalUtilities\XmlUtilities.cs (2)
60private static void CopyAnnotations(XObject source, XObject target)
Microsoft.DotNet.XliffTasks (2)
Model\XamlRuleDocument.cs (2)
123private static string GenerateIdForDisplayNameOrDescription(XObject xObject) 210private static string XmlName(XObject container) => container is XElement element ? XmlName(element) : XmlName((XAttribute)container);
netstandard (1)
netstandard.cs (1)
2279[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XObject))]
System.ComponentModel.TypeConverter (3)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (3)
66internal abstract class XPropertyDescriptor<T, TProperty> : PropertyDescriptor where T : XObject 497internal sealed class XDeferredAxis<T> : IEnumerable<T>, IEnumerable where T : XObject 541internal sealed class XDeferredSingleton<T> where T : XObject
System.Private.Xml.Linq (52)
System\Xml\Linq\XContainer.cs (1)
823XObject => throw new ArgumentException(SR.Argument_XObjectValue),
System\Xml\Linq\XElement.cs (2)
1213/// Thrown if the value is an instance of <see cref="XObject"/>. 1253/// Thrown if the value is an instance of <see cref="XObject"/>.
System\Xml\Linq\XLinq.cs (5)
655/// Specifies the event type when an event is raised for an <see cref="XObject"/>. 660/// An <see cref="XObject"/> has been or will be added to an <see cref="XContainer"/>. 665/// An <see cref="XObject"/> has been or will be removed from an <see cref="XContainer"/>. 670/// An <see cref="XObject"/> has been or will be renamed. 675/// The value of an <see cref="XObject"/> has been or will be changed.
System\Xml\Linq\XNode.cs (2)
418/// (<see cref="XObject.NodeType"/>) of the first node encountered 455/// (<see cref="XObject.NodeType"/>) of the first node encountered
System\Xml\Linq\XNodeReader.cs (13)
69XObject? o = _source as XObject; 74o = _parent as XObject; 91XObject? o = _source as XObject; 96o = _parent as XObject; 105private static int GetDepth(XObject o) 160XObject? o = _source as XObject; 282XObject? o = _source as XObject; 364XObject? o = _source as XObject;
System\Xml\Linq\XObject.cs (21)
22/// Get the BaseUri for this <see cref="XObject"/>. 28XObject? o = this; 45/// Gets the XDocument object for this <see cref="XObject"/>. 51XObject n = this; 61/// Gets the node type for this <see cref="XObject"/>. 66/// Gets the parent <see cref="XElement"/> of this <see cref="XObject"/>. 69/// If this <see cref="XObject"/> has no parent <see cref="XElement"/>, this property returns null. 77/// Adds an object to the annotation list of this <see cref="XObject"/>. 111/// of this <see cref="XObject"/>. 168/// of this <see cref="XObject"/>. 194/// for this <see cref="XObject"/>. 228/// for this <see cref="XObject"/>. 256/// Removes the annotations of the specified type from this <see cref="XObject"/>. 293/// Removes the annotations of the specified type from this <see cref="XObject"/>. 328/// Occurs when this <see cref="XObject"/> or any of its descendants have changed. 357/// Occurs when this <see cref="XObject"/> or any of its descendants are about to change. 421XObject? o = this; 443XObject? o = this; 474XObject? o = this; 491/// <returns>The effective <see cref="SaveOptions"/> for this <see cref="XObject"/></returns> 494XObject? o = this;
System\Xml\Linq\XObjectChangeEventArgs.cs (2)
9/// Provides data for the <see cref="XObject.Changing"/> and <see cref="XObject.Changed"/> events.
System\Xml\Schema\XNodeValidator.cs (4)
20private XObject? source; 40public void Validate(XObject source, XmlSchemaObject? partialValidationType, bool addSchemaInfo) 154private void ReplaceSchemaInfo(XObject o, XmlSchemaInfo schemaInfo) 233private IXmlLineInfo SaveLineInfo(XObject? source)
System\Xml\XPath\XNodeNavigator.cs (1)
46private XObject _source;
System\Xml\XPath\XObjectExtensions.cs (1)
10public static XContainer? GetParent(this XObject obj)
System.Xml.Linq (1)
System.Xml.Linq.cs (1)
21[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XObject))]
System.Xml.XDocument (1)
artifacts\obj\System.Xml.XDocument\Debug\net10.0\System.Xml.XDocument.Forwards.cs (1)
20[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XObject))]