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