summaryrefslogtreecommitdiff
path: root/tests/src/Interop
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-03-16 13:52:22 -0700
committerJan Kotas <jkotas@microsoft.com>2016-03-16 13:52:22 -0700
commita5ca4dce8701f409c135504bc328f5f8ff4ee7c1 (patch)
treeee2df8029e8f15267fd6e792ba9e51ee9839cae3 /tests/src/Interop
parent00f25cfbe4127cb6524ab43e91d5e98f44fade28 (diff)
parentffc7372713170e09a9f80d4cd8d6bb238378a34b (diff)
downloadcoreclr-a5ca4dce8701f409c135504bc328f5f8ff4ee7c1.tar.gz
coreclr-a5ca4dce8701f409c135504bc328f5f8ff4ee7c1.tar.bz2
coreclr-a5ca4dce8701f409c135504bc328f5f8ff4ee7c1.zip
Merge pull request #3752 from dotnet-bot/from-tfs
Merge changes from TFS
Diffstat (limited to 'tests/src/Interop')
-rw-r--r--tests/src/Interop/ICastable/Castable.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/src/Interop/ICastable/Castable.cs b/tests/src/Interop/ICastable/Castable.cs
index aac7a5c5a5..9e119c1ccb 100644
--- a/tests/src/Interop/ICastable/Castable.cs
+++ b/tests/src/Interop/ICastable/Castable.cs
@@ -44,7 +44,7 @@ public class GenRetArgImpl<T>: IRetArg<T>
{
public T ReturnArg(T t)
{
- Console.WriteLine("Generic ReturnArg has been called. My type is {0}", GetType());
+ Console.WriteLine(String.Format("Generic ReturnArg has been called. My type is {0}", GetType()));
return t;
}
}
@@ -60,7 +60,7 @@ public class RetThisImpl: IRetThis
public Type GetMyType()
{
- Console.WriteLine("GetMyType has been called. My type is {0}", GetType());
+ Console.WriteLine(String.Format("GetMyType has been called. My type is {0}", GetType()));
return GetType();
}
}
@@ -77,7 +77,7 @@ public class Castable : ICastable, IExtra
public bool IsInstanceOfInterface(RuntimeTypeHandle interfaceType, out Exception castError)
{
- Console.WriteLine("IsInstanceOfInterface has been called for type {0}", Type.GetTypeFromHandle(interfaceType));
+ Console.WriteLine(String.Format("IsInstanceOfInterface has been called for type {0}", Type.GetTypeFromHandle(interfaceType)));
if (_interface2impl == null)
{
castError = new CastableException();
@@ -89,13 +89,13 @@ public class Castable : ICastable, IExtra
public RuntimeTypeHandle GetImplType(RuntimeTypeHandle interfaceType)
{
- Console.WriteLine("GetImplType has been called for type {0}", Type.GetTypeFromHandle(interfaceType));
+ Console.WriteLine(String.Format("GetImplType has been called for type {0}", Type.GetTypeFromHandle(interfaceType)));
return _interface2impl[Type.GetTypeFromHandle(interfaceType)].TypeHandle;
}
public int InnocentMethod()
{
- Console.WriteLine("InnocentMethod has been called. My type is {0}", GetType());
+ Console.WriteLine(String.Format("InnocentMethod has been called. My type is {0}", GetType()));
return 3;
}
}