-
Notifications
You must be signed in to change notification settings - Fork 35
/
ISourceGenerator.xml
189 lines (187 loc) · 11.9 KB
/
ISourceGenerator.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<Type Name="ISourceGenerator" FullName="Microsoft.CodeAnalysis.ISourceGenerator">
<TypeSignature Language="C#" Value="public interface ISourceGenerator" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ISourceGenerator" FrameworkAlternate="roslyn-dotnet-3.10.0;roslyn-dotnet-3.11.0;roslyn-dotnet-3.6.0;roslyn-dotnet-3.7.0;roslyn-dotnet-3.8.0;roslyn-dotnet-3.9.0;roslyn-dotnet-4.0.1;roslyn-dotnet-4.1.0;roslyn-dotnet-4.2.0;roslyn-dotnet-4.3.0;roslyn-dotnet-4.4.0;roslyn-dotnet-4.5.0;roslyn-dotnet-4.6.0;roslyn-dotnet-4.7.0;roslyn-dotnet-4.8.0" />
<TypeSignature Language="DocId" Value="T:Microsoft.CodeAnalysis.ISourceGenerator" />
<TypeSignature Language="VB.NET" Value="Public Interface ISourceGenerator" />
<TypeSignature Language="F#" Value="type ISourceGenerator = interface" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit ISourceGenerator" FrameworkAlternate="roslyn-dotnet-4.9.0" />
<AssemblyInfo>
<AssemblyName>Microsoft.CodeAnalysis</AssemblyName>
<AssemblyVersion>3.6.0.0</AssemblyVersion>
<AssemblyVersion>3.7.0.0</AssemblyVersion>
<AssemblyVersion>3.8.0.0</AssemblyVersion>
<AssemblyVersion>3.9.0.0</AssemblyVersion>
<AssemblyVersion>3.10.0.0</AssemblyVersion>
<AssemblyVersion>3.11.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.3.0.0</AssemblyVersion>
<AssemblyVersion>4.4.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.0</AssemblyVersion>
<AssemblyVersion>4.6.0.0</AssemblyVersion>
<AssemblyVersion>4.7.0.0</AssemblyVersion>
<AssemblyVersion>4.8.0.0</AssemblyVersion>
<AssemblyVersion>4.9.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
<summary>
The base interface required to implement a source generator
</summary>
<remarks>
The lifetime of a generator is controlled by the compiler.
State should not be stored directly on the generator, as there
is no guarantee that the same instance will be used on a
subsequent generation pass.
</remarks>
</Docs>
<Members>
<Member MemberName="Execute">
<MemberSignature Language="C#" Value="public void Execute (Microsoft.CodeAnalysis.GeneratorExecutionContext context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Execute(valuetype Microsoft.CodeAnalysis.GeneratorExecutionContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CodeAnalysis.ISourceGenerator.Execute(Microsoft.CodeAnalysis.GeneratorExecutionContext)" />
<MemberSignature Language="VB.NET" Value="Public Sub Execute (context As GeneratorExecutionContext)" />
<MemberSignature Language="F#" Value="abstract member Execute : Microsoft.CodeAnalysis.GeneratorExecutionContext -> unit" Usage="iSourceGenerator.Execute context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CodeAnalysis</AssemblyName>
<AssemblyVersion>3.8.0.0</AssemblyVersion>
<AssemblyVersion>3.9.0.0</AssemblyVersion>
<AssemblyVersion>3.10.0.0</AssemblyVersion>
<AssemblyVersion>3.11.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.3.0.0</AssemblyVersion>
<AssemblyVersion>4.4.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.0</AssemblyVersion>
<AssemblyVersion>4.6.0.0</AssemblyVersion>
<AssemblyVersion>4.7.0.0</AssemblyVersion>
<AssemblyVersion>4.8.0.0</AssemblyVersion>
<AssemblyVersion>4.9.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Microsoft.CodeAnalysis.GeneratorExecutionContext" Index="0" FrameworkAlternate="roslyn-dotnet-3.10.0;roslyn-dotnet-3.11.0;roslyn-dotnet-3.8.0;roslyn-dotnet-3.9.0;roslyn-dotnet-4.0.1;roslyn-dotnet-4.1.0;roslyn-dotnet-4.2.0;roslyn-dotnet-4.3.0;roslyn-dotnet-4.4.0;roslyn-dotnet-4.5.0;roslyn-dotnet-4.6.0;roslyn-dotnet-4.7.0;roslyn-dotnet-4.8.0;roslyn-dotnet-4.9.0" />
</Parameters>
<Docs>
<param name="context">The <see cref="T:Microsoft.CodeAnalysis.GeneratorExecutionContext" /> to add source to</param>
<summary>
Called to perform source generation. A generator can use the <paramref name="context" />
to add source files via the <see cref="M:Microsoft.CodeAnalysis.GeneratorExecutionContext.AddSource(System.String,Microsoft.CodeAnalysis.Text.SourceText)" />
method.
</summary>
<remarks>
This call represents the main generation step. It is called after a <see cref="T:Microsoft.CodeAnalysis.Compilation" /> is
created that contains the user written code.
A generator can use the <see cref="P:Microsoft.CodeAnalysis.GeneratorExecutionContext.Compilation" /> property to
discover information about the users compilation and make decisions on what source to
provide.
</remarks>
</Docs>
</Member>
<Member MemberName="Execute">
<MemberSignature Language="C#" Value="public void Execute (Microsoft.CodeAnalysis.SourceGeneratorContext context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Execute(valuetype Microsoft.CodeAnalysis.SourceGeneratorContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CodeAnalysis.ISourceGenerator.Execute(Microsoft.CodeAnalysis.SourceGeneratorContext)" />
<MemberSignature Language="VB.NET" Value="Public Sub Execute (context As SourceGeneratorContext)" />
<MemberSignature Language="F#" Value="abstract member Execute : Microsoft.CodeAnalysis.SourceGeneratorContext -> unit" Usage="iSourceGenerator.Execute context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CodeAnalysis</AssemblyName>
<AssemblyVersion>3.6.0.0</AssemblyVersion>
<AssemblyVersion>3.7.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Microsoft.CodeAnalysis.SourceGeneratorContext" Index="0" FrameworkAlternate="roslyn-dotnet-3.6.0;roslyn-dotnet-3.7.0" />
</Parameters>
<Docs>
<param name="context">The <see cref="T:Microsoft.CodeAnalysis.SourceGeneratorContext" /> to add source to</param>
<summary>
Called to perform source generation. A generator can use the <paramref name="context" />
to add source files via the <see cref="M:Microsoft.CodeAnalysis.SourceGeneratorContext.AddSource(System.String,Microsoft.CodeAnalysis.Text.SourceText)" />
method.
</summary>
<remarks>
This call represents the main generation step. It is called after a <see cref="T:Microsoft.CodeAnalysis.Compilation" /> is
created that contains the user written code.
A generator can use the <see cref="P:Microsoft.CodeAnalysis.SourceGeneratorContext.Compilation" /> property to
discover information about the users compilation and make decisions on what source to
provide.
</remarks>
</Docs>
</Member>
<Member MemberName="Initialize">
<MemberSignature Language="C#" Value="public void Initialize (Microsoft.CodeAnalysis.GeneratorInitializationContext context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Initialize(valuetype Microsoft.CodeAnalysis.GeneratorInitializationContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CodeAnalysis.ISourceGenerator.Initialize(Microsoft.CodeAnalysis.GeneratorInitializationContext)" />
<MemberSignature Language="VB.NET" Value="Public Sub Initialize (context As GeneratorInitializationContext)" />
<MemberSignature Language="F#" Value="abstract member Initialize : Microsoft.CodeAnalysis.GeneratorInitializationContext -> unit" Usage="iSourceGenerator.Initialize context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CodeAnalysis</AssemblyName>
<AssemblyVersion>3.8.0.0</AssemblyVersion>
<AssemblyVersion>3.9.0.0</AssemblyVersion>
<AssemblyVersion>3.10.0.0</AssemblyVersion>
<AssemblyVersion>3.11.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.3.0.0</AssemblyVersion>
<AssemblyVersion>4.4.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.0</AssemblyVersion>
<AssemblyVersion>4.6.0.0</AssemblyVersion>
<AssemblyVersion>4.7.0.0</AssemblyVersion>
<AssemblyVersion>4.8.0.0</AssemblyVersion>
<AssemblyVersion>4.9.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Microsoft.CodeAnalysis.GeneratorInitializationContext" Index="0" FrameworkAlternate="roslyn-dotnet-3.10.0;roslyn-dotnet-3.11.0;roslyn-dotnet-3.8.0;roslyn-dotnet-3.9.0;roslyn-dotnet-4.0.1;roslyn-dotnet-4.1.0;roslyn-dotnet-4.2.0;roslyn-dotnet-4.3.0;roslyn-dotnet-4.4.0;roslyn-dotnet-4.5.0;roslyn-dotnet-4.6.0;roslyn-dotnet-4.7.0;roslyn-dotnet-4.8.0;roslyn-dotnet-4.9.0" />
</Parameters>
<Docs>
<param name="context">The <see cref="T:Microsoft.CodeAnalysis.GeneratorInitializationContext" /> to register callbacks on</param>
<summary>
Called before generation occurs. A generator can use the <paramref name="context" />
to register callbacks required to perform generation.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Initialize">
<MemberSignature Language="C#" Value="public void Initialize (Microsoft.CodeAnalysis.InitializationContext context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Initialize(valuetype Microsoft.CodeAnalysis.InitializationContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.CodeAnalysis.ISourceGenerator.Initialize(Microsoft.CodeAnalysis.InitializationContext)" />
<MemberSignature Language="VB.NET" Value="Public Sub Initialize (context As InitializationContext)" />
<MemberSignature Language="F#" Value="abstract member Initialize : Microsoft.CodeAnalysis.InitializationContext -> unit" Usage="iSourceGenerator.Initialize context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.CodeAnalysis</AssemblyName>
<AssemblyVersion>3.6.0.0</AssemblyVersion>
<AssemblyVersion>3.7.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Microsoft.CodeAnalysis.InitializationContext" Index="0" FrameworkAlternate="roslyn-dotnet-3.6.0;roslyn-dotnet-3.7.0" />
</Parameters>
<Docs>
<param name="context">The <see cref="T:Microsoft.CodeAnalysis.InitializationContext" /> to register callbacks on</param>
<summary>
Called before generation occurs. A generator can use the <paramref name="context" />
to register callbacks required to perform generation.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>