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