1 instantiation of ObsoleteData
Aspire.TypeSystem (1)
AttributeDataReader.cs (1)
375
return new
ObsoleteData
13 references to ObsoleteData
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (2)
1974
var
obsoleteData = AttributeDataReader.GetObsoleteData(method);
2083
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)
144
/// Gets <see cref="
ObsoleteData
"/> from the specified <paramref name="method"/>, if present.
146
public 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.
152
public 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.
158
public static
ObsoleteData
? GetObsoleteData(Type type)
159
=> FindSingleAttribute<
ObsoleteData
>(type.GetCustomAttributesData(), ObsoleteAttributeFullName, ParseObsoleteData);
358
private static
ObsoleteData
ParseObsoleteData(CustomAttributeData data)