internal virtual MetadataReferenceResolver GetCommandLineMetadataReferenceResolver(TouchedFileLogger loggerOpt)
        {
            var type         = Refl.Type_LoggingMetadataFileReferenceResolver.GetConstructors(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance).Single().GetParameters()[0].ParameterType;
            var pathResolver = type.InvokeFunction(".ctor", Arguments.ReferencePaths, Arguments.BaseDirectory);

            return(ReflLoggingMetadataFileReferenceResolver.ctor(pathResolver, GetMetadataProvider(), loggerOpt));
        }
Exemple #2
0
        internal virtual MetadataReferenceResolver GetCommandLineMetadataReferenceResolver(TouchedFileLogger loggerOpt)
        {
            var pathResolver = ReflRelativePathResolver.ctor(Arguments.ReferencePaths, Arguments.BaseDirectory);

            return(ReflLoggingMetadataFileReferenceResolver.ctor(pathResolver, GetMetadataProvider(), loggerOpt));
        }