2 references to ValidateBuilderType
Microsoft.CodeAnalysis.CSharp (2)
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (2)
204builderType = ValidateBuilderType(F, builderArgument, returnType.DeclaredAccessibility, isGeneric: false, useMethodLevelBuilder); 285builderType = ValidateBuilderType(F, builderArgument, returnType.DeclaredAccessibility, isGeneric: true, useMethodLevelBuilder);