r65
(AddGenericConstraint) committed by gael.fraiteur
- AddGenericConstraint
AddGenericConstraint
Aug 10, 2009
FieldAccessAspect (Demonstrates code injection on field level.) Wiki page commented on by andreasholst
- Where can I find code samples?
Where can I find code samples?
Jul 20, 2009
issue 1
(Getting type intializer error when i run unit test for the a...) reported by senthil.kumarasamy
- When you call method through the application, it works fine, no issues,
this fails only when you run unit tests, using Nunit and Resharper,
This is implemented using OnMethodInvocationAspect.
Here is the error,
System.NullReferenceException: Object reference not set to an instance of
an object.
at bc.a(Object A_0)
at ag.a(Object A_0)
at ag.a(String A_0, Object A_1)
at TypeMock.MockManager.a(String A_0, String A_1, Object A_2, Object A_3,
Boolean A_4)
at TypeMock.InternalMockManager.isMocked(Object that, String typeName,
String methodName, Object methodParameters, Boolean isInjected)
at <>AspectsImplementationDetails_1..cctor()
System.TypeInitializationException: The type initializer for
'<>AspectsImplementationDetails_1' threw an exception.
at DBFailureAspectTest.Get_FirstAttemptPositiveTest()
When you call method through the application, it works fine, no issues,
this fails only when you run unit tests, using Nunit and Resharper,
This is implemented using OnMethodInvocationAspect.
Here is the error,
System.NullReferenceException: Object reference not set to an instance of
an object.
at bc.a(Object A_0)
at ag.a(Object A_0)
at ag.a(String A_0, Object A_1)
at TypeMock.MockManager.a(String A_0, String A_1, Object A_2, Object A_3,
Boolean A_4)
at TypeMock.InternalMockManager.isMocked(Object that, String typeName,
String methodName, Object methodParameters, Boolean isInjected)
at <>AspectsImplementationDetails_1..cctor()
System.TypeInitializationException: The type initializer for
'<>AspectsImplementationDetails_1' threw an exception.
at DBFailureAspectTest.Get_FirstAttemptPositiveTest()