[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field)]public class VisibleForTestOnly:Attribute
Marker Attribute to indicate a Method/Class/Property has been made more visible for purpose of testing.
Mark the member as internal and make the testing assembly a friend using
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This page provides documentation for the `VisibleForTestOnly` attribute, which is used to mark classes, methods, properties, or fields that have been made more visible specifically for testing purposes."],["The `VisibleForTestOnly` attribute is designed to be used in conjunction with the `InternalsVisibleTo` attribute, to make members internal and then visible to a specific testing assembly."],["The `VisibleForTestOnly` attribute inherits from the base `Attribute` class and offers access to many inherited members for custom attribute management, including methods for getting custom attributes, checking for definitions, and managing metadata."],["This documentation is part of the Google.Apis.Testing namespace, found within the Google.Apis.Core.dll assembly, covering versions from 1.50.0 up to the latest, 1.69.0."]]],[]]