Skip to content

GenerateCodeForDeclaringAssemblyAttribute

class

Namespace: Orleans

Indicates that the source generator should also inspect and generate code for the assembly containing the specified type.
public sealed class GenerateCodeForDeclaringAssemblyAttribute : Attribute

Remarks

Serializable types and their member types must be accessible to the generated code. Internal types can grant access using System.Runtime.CompilerServices.InternalsVisibleToAttribute.

Constructors

Properties

  • Type Gets a type in the assembly which the source generator should inspect and generate source for.