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