diff --git a/README.md b/README.md index 792313f5..202c3a77 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,7 @@ partial class Composition public Program Root { + [MethodImpl(MethodImplOptions.AggressiveInlining)] get { var stateFunc = new Func(() => { @@ -135,7 +136,7 @@ partial class Composition stateFunc)))); } } - + public T Resolve() { ... } public object Resolve(Type type) { ... } diff --git a/readme/ReadmeTemplate.md b/readme/ReadmeTemplate.md index 61cdff14..bd7acfec 100644 --- a/readme/ReadmeTemplate.md +++ b/readme/ReadmeTemplate.md @@ -72,6 +72,7 @@ partial class Composition public Program Root { + [MethodImpl(MethodImplOptions.AggressiveInlining)] get { var stateFunc = new Func(() => { @@ -90,7 +91,7 @@ partial class Composition stateFunc)))); } } - + public T Resolve() { ... } public object Resolve(Type type) { ... }