2 references to GetMethodSymbolIfPresent
Microsoft.CodeAnalysis.CSharp.Features (2)
GenerateType\CSharpGenerateTypeService.cs (2)
431
generateTypeServiceStateOptions.DelegateCreationMethodSymbol =
GetMethodSymbolIfPresent
(semanticModel, firstVarDeclWithInitializer.Initializer.Value, cancellationToken);
439
generateTypeServiceStateOptions.DelegateCreationMethodSymbol =
GetMethodSymbolIfPresent
(semanticModel, castExpression.Expression, cancellationToken);