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