protected CustomReflectionContext() { }
protected CustomReflectionContext(System.Reflection.ReflectionContext source) { }
protected virtual System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo> AddProperties(System.Type type) { throw null; }
- protected System.Reflection.PropertyInfo CreateProperty(System.Type propertyType, string name, System.Func<object, object> getter, System.Action<object, object> setter) { throw null; }
- protected System.Reflection.PropertyInfo CreateProperty(System.Type propertyType, string name, System.Func<object, object> getter, System.Action<object, object> setter, System.Collections.Generic.IEnumerable<System.Attribute> propertyCustomAttributes, System.Collections.Generic.IEnumerable<System.Attribute> getterCustomAttributes, System.Collections.Generic.IEnumerable<System.Attribute> setterCustomAttributes) { throw null; }
+ protected System.Reflection.PropertyInfo CreateProperty(System.Type propertyType, string name, System.Func<object, object>? getter, System.Action<object, object>? setter) { throw null; }
+ protected System.Reflection.PropertyInfo CreateProperty(System.Type propertyType, string name, System.Func<object, object>? getter, System.Action<object, object>? setter, System.Collections.Generic.IEnumerable<System.Attribute>? propertyCustomAttributes, System.Collections.Generic.IEnumerable<System.Attribute>? getterCustomAttributes, System.Collections.Generic.IEnumerable<System.Attribute>? setterCustomAttributes) { throw null; }
protected virtual System.Collections.Generic.IEnumerable<object> GetCustomAttributes(System.Reflection.MemberInfo member, System.Collections.Generic.IEnumerable<object> declaredAttributes) { throw null; }
protected virtual System.Collections.Generic.IEnumerable<object> GetCustomAttributes(System.Reflection.ParameterInfo parameter, System.Collections.Generic.IEnumerable<object> declaredAttributes) { throw null; }
public override System.Reflection.Assembly MapAssembly(System.Reflection.Assembly assembly) { throw null; }
to a different assembly. -->
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<TargetFrameworks>netstandard2.0;netstandard1.1</TargetFrameworks>
+ <Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Compile Include="System.Reflection.Context.cs" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.1;netstandard2.1</TargetFrameworks>
+ <Nullable>enable</Nullable>
</PropertyGroup>
<!-- DesignTimeBuild requires all the TargetFramework Derived Properties to not be present in the first property group. -->
<PropertyGroup>
protected PropertyInfo CreateProperty(
Type propertyType,
string name,
- Func<object, object> getter,
- Action<object, object> setter)
+ Func<object, object>? getter,
+ Action<object, object>? setter)
{
return new VirtualPropertyInfo(
name,
protected PropertyInfo CreateProperty(
Type propertyType,
string name,
- Func<object, object> getter,
- Action<object, object> setter,
- IEnumerable<Attribute> propertyCustomAttributes,
- IEnumerable<Attribute> getterCustomAttributes,
- IEnumerable<Attribute> setterCustomAttributes)
+ Func<object, object>? getter,
+ Action<object, object>? setter,
+ IEnumerable<Attribute>? propertyCustomAttributes,
+ IEnumerable<Attribute>? getterCustomAttributes,
+ IEnumerable<Attribute>? setterCustomAttributes)
{
return new VirtualPropertyInfo(
name,