>Gregory
>In class this is ok
>But, when I make dll from class and call same class method outside of this class, the result is different one
Vladimir,
It's not clear to me what you want
If I change the code to [ var xx = new int[2, 2]; ], I only get
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
So, if you can explain which assemblies you want, I could perhaps change the code
[ Maybe Nadya can translate your question, if that would be easier for you ]
Your question started with a class' instance - remember ?
static void Main()
{
var xx = new int[2, 2]; // <- here
var list = GetAllAssemblies(xx);
foreach ( var a in list )
{
Console.WriteLine("{0}", a);
}
Console.ReadLine();
}
Gregory