15 references to GetTypeByReflectionType
Microsoft.CodeAnalysis.CSharp (6)
Compilation\CSharpCompilation.cs (2)
1797var result = Assembly.GetTypeByReflectionType(type); 1826TypeSymbol? symbol = Assembly.GetTypeByReflectionType(HostObjectType);
Symbols\AssemblySymbol.cs (4)
767TypeSymbol? symbol = GetTypeByReflectionType(typeInfo.GetElementType()!); 779TypeSymbol? symbol = GetTypeByReflectionType(typeInfo.GetElementType()!); 811var symbol = (NamedTypeSymbol?)GetTypeByReflectionType(nestedTypes[i].AsType()); 883var argSymbol = GetTypeByReflectionType(typeArguments[currentTypeArgument++]);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Symbols\TypeResolutionTests.cs (9)
125var intSym = c.Assembly.GetTypeByReflectionType(typeof(int)); 129var strcmpSym = c.Assembly.GetTypeByReflectionType(typeof(StringComparison)); 133var arraySym = c.Assembly.GetTypeByReflectionType(typeof(List<int>[][,,])); 137var ptrSym = c.Assembly.GetTypeByReflectionType(typeof(char).MakePointerType().MakePointerType()); 142var nestedSym1 = c.Assembly.GetTypeByReflectionType(typeof(C<int, bool>.D.E<double, float>.F<byte>)); 151var err = c.Assembly.GetTypeByReflectionType(typeof(C<Process, bool>.D.E<double, float>.F<byte>)); 154err = c.Assembly.GetTypeByReflectionType(typeof(C<int, bool>.D.E<double, Process>.F<byte>)); 157err = c.Assembly.GetTypeByReflectionType(typeof(Process[])); 160err = c.Assembly.GetTypeByReflectionType(typeof(SyntaxKind).MakePointerType());