1 instantiation of ObsoleteData
Aspire.TypeSystem (1)
AttributeDataReader.cs (1)
375return new ObsoleteData
13 references to ObsoleteData
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (2)
1974var obsoleteData = AttributeDataReader.GetObsoleteData(method); 2083var obsoleteData = AttributeDataReader.GetObsoleteData(method);
Aspire.Hosting.RemoteHost.Tests (1)
AttributeDataReaderTests.cs (1)
123var result = AttributeDataReader.GetObsoleteData(method);
Aspire.TypeSystem (10)
AttributeDataReader.cs (10)
144/// Gets <see cref="ObsoleteData"/> from the specified <paramref name="method"/>, if present. 146public static ObsoleteData? GetObsoleteData(MethodInfo method) 147=> FindSingleAttribute<ObsoleteData>(method.GetCustomAttributesData(), ObsoleteAttributeFullName, ParseObsoleteData); 150/// Gets <see cref="ObsoleteData"/> from the specified <paramref name="property"/>, if present. 152public static ObsoleteData? GetObsoleteData(PropertyInfo property) 153=> FindSingleAttribute<ObsoleteData>(property.GetCustomAttributesData(), ObsoleteAttributeFullName, ParseObsoleteData); 156/// Gets <see cref="ObsoleteData"/> from the specified <paramref name="type"/>, if present. 158public static ObsoleteData? GetObsoleteData(Type type) 159=> FindSingleAttribute<ObsoleteData>(type.GetCustomAttributesData(), ObsoleteAttributeFullName, ParseObsoleteData); 358private static ObsoleteData ParseObsoleteData(CustomAttributeData data)