<PackageReference Include="Castle.Windsor" Version="5.0.0-beta001" />

Castle.MicroKernel.ComponentReference<T>

public class ComponentReference<T> : IReference<T>
Reference to component obtained from the container.
/* Error decompiling T Castle.MicroKernel.ComponentReference`1::Resolve(Castle.MicroKernel.IKernel,Castle.MicroKernel.Context.CreationContext) ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at ICSharpCode.Decompiler.IL.SemanticHelper.Inst2MightWriteToVariableReadByInst1(ILInstruction inst1, ILInstruction inst2) in offset 12 at ICSharpCode.Decompiler.IL.SemanticHelper.MayReorder(ILInstruction inst1, ILInstruction inst2) in offset 28 at ICSharpCode.Decompiler.IL.Transforms.ILInlining.FindLoadInNext(ILInstruction expr, ILVariable v, ILInstruction expressionBeingMoved, ILInstruction& loadInst) in offset 338 at ICSharpCode.Decompiler.IL.Transforms.ILInlining.Run(ILFunction function, ILTransformContext context) in offset 34 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileBody(MethodDefinition methodDefinition, IMethod method, EntityDeclaration entityDecl, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 366 -- continuing with outer exception (ICSharpCode.Decompiler.DecompilerException) -- at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileBody(MethodDefinition methodDefinition, IMethod method, EntityDeclaration entityDecl, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 835 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DoDecompile(ITypeDefinition typeDef, DecompileRun decompileRun, ITypeResolveContext decompilationContext) in offset 567 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DoDecompileTypes(IEnumerable`1 types, DecompileRun decompileRun, ITypeResolveContext decompilationContext, SyntaxTree syntaxTree) in offset 173 at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileType(FullTypeName fullTypeName) in offset 141 at Relativity.APIReference.TypeDocumentation.b__30_0() in TypeDocumentation.cs:line 270 */