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