2 references to ExceptionToDiagnostic
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineArguments.cs (1)
437var diagnostic = PortableExecutableReference.ExceptionToDiagnostic(e, messageProviderOpt!, Location.None, cmdReference.Reference, cmdReference.Properties.Kind);
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
505newDiagnostic = PortableExecutableReference.ExceptionToDiagnostic(e, messageProvider, location, peReference.Display ?? "", peReference.Properties.Kind);