INNER CODE UNIT · C#

isPartial

0x5bfa/FluentHub · src/Octokit.Generators/GeneratedGraphQLOperationGenerator.cs:148

			var isPartial = type.DeclaringSyntaxReferences.Any(reference =>
				reference.GetSyntax(cancellationToken) is TypeDeclarationSyntax declaration &&
				declaration.Modifiers.Any(SyntaxKind.PartialKeyword));
			builder.Add(new ContainingType(
				type.Name,
				GetAccessibility(type.DeclaredAccessibility),
				GetTypeKeyword(type),
				type.IsStatic,
				type.TypeParameters.Select(parameter => parameter.Name).ToImmutableArray(),
				isPartial));
		}

		return builder.ToImmutable();
	}

	private static string Render(OperationCandidate candidate, GraphQLDocument graphQL)
	{
		var builder = new StringBuilder();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…