7 references to WrapUserFunction
Microsoft.CodeAnalysis (3)
SourceGeneration\Nodes\SyntaxValueProvider.cs (2)
47
new PredicateSyntaxStrategy<T>(predicate.
WrapUserFunction
(_context.CatchAnalyzerExceptions), transform.
WrapUserFunction
(_context.CatchAnalyzerExceptions), _syntaxHelper),
SourceGeneration\UserFunction.cs (1)
79
return (input, token) => userFunction.
WrapUserFunction
(catchAnalyzerExceptions)(input, token).ToImmutableArrayOrEmpty();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
SourceGeneration\GeneratorDriverTests.cs (4)
1688
var userFunc = func.
WrapUserFunction
(catchAnalyzerExceptions: true);
1689
var userThrowsFunc = throwsFunc.
WrapUserFunction
(catchAnalyzerExceptions: true);
1690
var userTimeoutFunc = timeoutFunc.
WrapUserFunction
(catchAnalyzerExceptions: true);
1691
var userOtherTimeoutFunc = otherTimeoutFunc.
WrapUserFunction
(catchAnalyzerExceptions: true);