13 references to DisposeCheck
System.Reflection.MetadataLoadContext (13)
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.cs (1)
103
private ref readonly AssemblyDefinition AssemblyDefinition { get { Loader.
DisposeCheck
(); return ref _neverAccessThisExceptThroughAssemblyDefinitionProperty; } }
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeData.cs (1)
103
private ref readonly CustomAttribute CustomAttribute { get { Loader.
DisposeCheck
(); return ref _neverAccessThisExceptThroughCustomAttributeProperty; } }
System\Reflection\TypeLoading\Events\Ecma\EcmaEvent.cs (1)
100
private ref readonly EventDefinition EventDefinition { get { Loader.
DisposeCheck
(); return ref _neverAccessThisExceptThroughEventDefinitionProperty; } }
System\Reflection\TypeLoading\Fields\Ecma\EcmaField.cs (1)
85
private ref readonly FieldDefinition FieldDefinition { get { Loader.
DisposeCheck
(); return ref _neverAccessThisExceptThroughFieldDefinitionProperty; } }
System\Reflection\TypeLoading\General\Ecma\GuardedPEReader.cs (2)
38
public PEReader PEReader { get { _loader.
DisposeCheck
(); return _peReader; } }
39
public MetadataReader Reader { get { _loader.
DisposeCheck
(); return _reader; } }
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodBody.cs (1)
89
private ref readonly MethodBodyBlock Block { get { Loader.
DisposeCheck
(); return ref _neverAccessThisExceptThroughBlockProperty; } }
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
156
private MethodDefinition MethodDefinition { get { Loader.
DisposeCheck
(); return _neverAccessThisExceptThroughMethodDefinitionProperty; } }
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs (1)
136
private ref readonly ModuleDefinition ModuleDefinition { get { Loader.
DisposeCheck
(); return ref _neverAccessThisExceptThroughModuleDefinitionProperty; } }
System\Reflection\TypeLoading\Parameters\Ecma\EcmaFatMethodParameter.cs (1)
71
private ref readonly Parameter Parameter { get { Loader.
DisposeCheck
(); return ref _neverAccessThisExceptThroughParameterProperty; } }
System\Reflection\TypeLoading\Properties\Ecma\EcmaProperty.cs (1)
104
private ref readonly PropertyDefinition PropertyDefinition { get { Loader.
DisposeCheck
(); return ref _neverAccessThisExceptThroughPropertyDefinitionProperty; } }
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
144
private ref readonly TypeDefinition TypeDefinition { get { Loader.
DisposeCheck
(); return ref _neverAccessThisExceptThroughTypeDefinitionProperty; } }
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericParameterType.cs (1)
76
protected ref readonly GenericParameter GenericParameter { get { Loader.
DisposeCheck
(); return ref _neverAccessThisExceptThroughGenericParameterProperty; } }