@@ -12,7 +12,7 @@ public static class Validating
12
12
ConstructorInfo selection = null ;
13
13
var ctor = ( InjectionMember < ConstructorInfo , object [ ] > ) member ;
14
14
15
- if ( ctor . IsInitialized ) throw new InvalidOperationException ( "Sharing InjectionConstructor between registrations is not supported" ) ;
15
+ if ( ctor . IsInitialized ) throw new InvalidOperationException ( "Sharing an InjectionConstructor between registrations is not supported" ) ;
16
16
17
17
// Select Constructor
18
18
foreach ( var info in ctor . DeclaredMembers ( type ) )
@@ -42,7 +42,7 @@ public static class Validating
42
42
MethodInfo selection = null ;
43
43
var method = ( InjectionMember < MethodInfo , object [ ] > ) member ;
44
44
45
- if ( method . IsInitialized ) throw new InvalidOperationException ( "Sharing InjectionMethod between registrations is not supported" ) ;
45
+ if ( method . IsInitialized ) throw new InvalidOperationException ( "Sharing an InjectionMethod between registrations is not supported" ) ;
46
46
47
47
// Select Method
48
48
foreach ( var info in type . GetDeclaredMethods ( ) )
@@ -109,7 +109,7 @@ public static class Validating
109
109
var field = ( InjectionMember < FieldInfo , object > ) member ;
110
110
111
111
if ( field . IsInitialized ) throw new InvalidOperationException (
112
- "Sharing InjectionField between registrations is not supported" ) ;
112
+ "Sharing an InjectionField between registrations is not supported" ) ;
113
113
114
114
// Select Field
115
115
foreach ( var info in type . GetDeclaredFields ( ) )
@@ -158,7 +158,7 @@ public static class Validating
158
158
PropertyInfo selection = null ;
159
159
var property = ( InjectionMember < PropertyInfo , object > ) member ;
160
160
161
- if ( property . IsInitialized ) throw new InvalidOperationException ( "Sharing InjectionProperty between registrations is not supported" ) ;
161
+ if ( property . IsInitialized ) throw new InvalidOperationException ( "Sharing an InjectionProperty between registrations is not supported" ) ;
162
162
163
163
// Select Property
164
164
foreach ( var info in type . GetDeclaredProperties ( ) )
0 commit comments