4 references to GetDelegateType
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
457
var namedDelegateType = inferredType.
GetDelegateType
(compilation)?.DelegateInvokeMethod?.ConvertToType(compilation);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ITypeInferenceServiceExtensions.cs (1)
49
var delegateTypes = types.Select(t => t.
GetDelegateType
(semanticModel.Compilation));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1696
var type = types.FirstOrDefault().InferredType.
GetDelegateType
(this.Compilation);
1840
var delegateType = argumentTypes.FirstOrDefault().InferredType.
GetDelegateType
(this.Compilation);