77 references to WriteKeyword
Microsoft.Cci.Extensions (77)
Writers\CSharp\CSDeclarationWriter.Attributes.cs (6)
147
WriteKeyword
(prefix, noSpace: true);
231
WriteKeyword
("typeof", noSpace: true);
255
WriteKeyword
("null", noSpace: true);
297
WriteKeyword
("true", noSpace: true);
299
WriteKeyword
("false", noSpace: true);
323
WriteKeyword
("new");
Writers\CSharp\CSDeclarationWriter.cs (10)
199
WriteKeyword
("public"); break;
201
WriteKeyword
("private"); break;
203
WriteKeyword
("internal"); break;
205
WriteKeyword
("protected"); break;
207
WriteKeyword
("protected");
WriteKeyword
("internal"); break;
209
WriteKeyword
("private");
WriteKeyword
("protected"); break;
211
WriteKeyword
("<Unknown-Visibility>"); break;
220
WriteKeyword
("volatile");
Writers\CSharp\CSDeclarationWriter.Enums.cs (1)
127
WriteKeyword
("null", noSpace: true);
Writers\CSharp\CSDeclarationWriter.Events.cs (4)
25
WriteKeyword
("new");
29
WriteKeyword
("readonly");
32
WriteKeyword
("event");
52
WriteKeyword
(keyword);
Writers\CSharp\CSDeclarationWriter.Fields.cs (7)
35
WriteKeyword
("required");
39
WriteKeyword
("unsafe");
44
WriteKeyword
("new");
46
WriteKeyword
("const");
51
WriteKeyword
("static");
53
WriteKeyword
("readonly");
57
WriteKeyword
("new");
Writers\CSharp\CSDeclarationWriter.Generics.cs (7)
30
WriteKeyword
("in"); break;
32
WriteKeyword
("out"); break;
50
WriteKeyword
("where");
64
yield return () =>
WriteKeyword
("struct", noSpace: true);
70
WriteKeyword
("class", noSpace: true);
84
yield return () =>
WriteKeyword
("notnull", noSpace: true);
108
yield return () => {
WriteKeyword
("new", noSpace: true); WriteSymbol("("); WriteSymbol(")"); };
Writers\CSharp\CSDeclarationWriter.Methods.cs (21)
154
WriteKeyword
("readonly");
159
WriteKeyword
("ref");
162
WriteKeyword
("readonly");
218
WriteKeyword
("this");
221
WriteKeyword
("params");
225
WriteKeyword
("out");
238
WriteKeyword
("in");
242
WriteKeyword
("ref");
259
WriteKeyword
("new");
267
WriteKeyword
("unsafe");
271
WriteKeyword
("static");
274
WriteKeyword
("extern");
282
WriteKeyword
("abstract");
288
WriteKeyword
("abstract");
290
WriteKeyword
("virtual");
295
WriteKeyword
("abstract");
297
WriteKeyword
("sealed");
298
WriteKeyword
("override");
386
WriteKeyword
("unsafe");
404
WriteKeyword
("base");
484
WriteKeyword
("default", true);
Writers\CSharp\CSDeclarationWriter.Namespaces.cs (1)
10
WriteKeyword
("namespace");
Writers\CSharp\CSDeclarationWriter.Properties.cs (7)
79
WriteKeyword
("required");
86
WriteKeyword
("new");
101
WriteKeyword
("readonly");
106
WriteKeyword
("ref");
109
WriteKeyword
("readonly");
201
WriteKeyword
("readonly");
203
WriteKeyword
(accessorType, noSpace: true);
Writers\CSharp\CSDeclarationWriter.Types.cs (13)
68
if (invoke.IsMethodUnsafe())
WriteKeyword
("unsafe");
69
WriteKeyword
("delegate");
195
WriteKeyword
("new");
201
WriteKeyword
("enum");
205
WriteKeyword
("readonly");
208
WriteKeyword
("ref");
211
WriteKeyword
("struct");
216
WriteKeyword
("interface");
224
WriteKeyword
("static");
226
WriteKeyword
("sealed");
228
WriteKeyword
("abstract");
231
WriteKeyword
("class");
238
WriteKeyword
("partial");