1 instantiation of ObsoleteData
Aspire.TypeSystem (1)
AttributeDataReader.cs (1)
338return new ObsoleteData
13 references to ObsoleteData
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (2)
1897var obsoleteData = AttributeDataReader.GetObsoleteData(method); 2004var obsoleteData = AttributeDataReader.GetObsoleteData(method);
Aspire.Hosting.RemoteHost.Tests (1)
AttributeDataReaderTests.cs (1)
123var result = AttributeDataReader.GetObsoleteData(method);
Aspire.TypeSystem (10)
AttributeDataReader.cs (10)
107/// Gets <see cref="ObsoleteData"/> from the specified <paramref name="method"/>, if present. 109public static ObsoleteData? GetObsoleteData(MethodInfo method) 110=> FindSingleAttribute<ObsoleteData>(method.GetCustomAttributesData(), ObsoleteAttributeFullName, ParseObsoleteData); 113/// Gets <see cref="ObsoleteData"/> from the specified <paramref name="property"/>, if present. 115public static ObsoleteData? GetObsoleteData(PropertyInfo property) 116=> FindSingleAttribute<ObsoleteData>(property.GetCustomAttributesData(), ObsoleteAttributeFullName, ParseObsoleteData); 119/// Gets <see cref="ObsoleteData"/> from the specified <paramref name="type"/>, if present. 121public static ObsoleteData? GetObsoleteData(Type type) 122=> FindSingleAttribute<ObsoleteData>(type.GetCustomAttributesData(), ObsoleteAttributeFullName, ParseObsoleteData); 321private static ObsoleteData ParseObsoleteData(CustomAttributeData data)