110 references to PrototypeFlags
Microsoft.VisualStudio.LanguageServices.CSharp (106)
CodeModel\CSharpCodeModelService_Prototype.cs (106)
21
public override string GetPrototype(SyntaxNode node, ISymbol symbol,
PrototypeFlags
flags)
74
private string GetDelegatePrototype(INamedTypeSymbol symbol,
PrototypeFlags
flags)
76
if ((flags &
PrototypeFlags
.Signature) != 0)
78
if (flags !=
PrototypeFlags
.Signature)
96
private string GetDelegatePrototype(DelegateDeclarationSyntax node, INamedTypeSymbol symbol,
PrototypeFlags
flags)
98
if ((flags &
PrototypeFlags
.Signature) != 0)
100
if (flags !=
PrototypeFlags
.Signature)
117
private string GetEventPrototype(IEventSymbol symbol,
PrototypeFlags
flags)
119
if ((flags &
PrototypeFlags
.Signature) != 0)
121
if (flags !=
PrototypeFlags
.Signature)
128
flags =
PrototypeFlags
.FullName |
PrototypeFlags
.Type;
138
private string GetFunctionPrototype(IMethodSymbol symbol,
PrototypeFlags
flags)
140
if ((flags &
PrototypeFlags
.Signature) != 0)
142
if (flags !=
PrototypeFlags
.Signature)
149
flags =
PrototypeFlags
.FullName |
PrototypeFlags
.Type |
PrototypeFlags
.ParameterTypes;
159
private string GetFunctionPrototype(BaseMethodDeclarationSyntax node, IMethodSymbol symbol,
PrototypeFlags
flags)
161
if ((flags &
PrototypeFlags
.Signature) != 0)
163
if (flags !=
PrototypeFlags
.Signature)
180
private string GetPropertyPrototype(IPropertySymbol symbol,
PrototypeFlags
flags)
182
if ((flags &
PrototypeFlags
.Signature) != 0)
184
if (flags !=
PrototypeFlags
.Signature)
191
flags =
PrototypeFlags
.FullName |
PrototypeFlags
.Type;
201
private string GetPropertyPrototype(BasePropertyDeclarationSyntax node, IPropertySymbol symbol,
PrototypeFlags
flags)
203
if ((flags &
PrototypeFlags
.Signature) != 0)
205
if (flags !=
PrototypeFlags
.Signature)
222
private string GetVariablePrototype(IFieldSymbol symbol,
PrototypeFlags
flags)
224
if ((flags &
PrototypeFlags
.Signature) != 0)
226
if (flags !=
PrototypeFlags
.Signature)
233
flags =
PrototypeFlags
.FullName |
PrototypeFlags
.Type;
243
private string GetVariablePrototype(VariableDeclaratorSyntax node, IFieldSymbol symbol,
PrototypeFlags
flags)
245
if ((flags &
PrototypeFlags
.Signature) != 0)
247
if (flags !=
PrototypeFlags
.Signature)
261
if ((flags &
PrototypeFlags
.Initializer) != 0 &&
273
private string GetVariablePrototype(EnumMemberDeclarationSyntax node, IFieldSymbol symbol,
PrototypeFlags
flags)
275
if ((flags &
PrototypeFlags
.Signature) != 0)
277
if (flags !=
PrototypeFlags
.Signature)
291
if ((flags &
PrototypeFlags
.Initializer) != 0 &&
303
private void AppendDelegatePrototype(StringBuilder builder, INamedTypeSymbol symbol,
PrototypeFlags
flags, string baseName)
307
if ((flags &
PrototypeFlags
.Type) != 0)
311
if (((flags &
PrototypeFlags
.NameMask) !=
PrototypeFlags
.NoName) ||
312
((flags & (
PrototypeFlags
.ParameterNames |
PrototypeFlags
.ParameterTypes)) != 0))
320
switch (flags &
PrototypeFlags
.NameMask)
322
case
PrototypeFlags
.FullName:
325
goto case
PrototypeFlags
.BaseName;
327
case
PrototypeFlags
.TypeName:
330
goto case
PrototypeFlags
.BaseName;
332
case
PrototypeFlags
.BaseName:
336
case
PrototypeFlags
.NoName:
341
if ((flags & (
PrototypeFlags
.ParameterNames |
PrototypeFlags
.ParameterTypes)) != 0)
356
private void AppendEventPrototype(StringBuilder builder, IEventSymbol symbol,
PrototypeFlags
flags, string baseName)
358
if ((flags &
PrototypeFlags
.Type) != 0)
362
if ((flags &
PrototypeFlags
.NameMask) !=
PrototypeFlags
.NoName)
368
switch (flags &
PrototypeFlags
.NameMask)
370
case
PrototypeFlags
.FullName:
373
goto case
PrototypeFlags
.BaseName;
375
case
PrototypeFlags
.TypeName:
378
goto case
PrototypeFlags
.BaseName;
380
case
PrototypeFlags
.BaseName:
386
private void AppendFunctionPrototype(StringBuilder builder, IMethodSymbol symbol,
PrototypeFlags
flags, string baseName)
388
if ((flags &
PrototypeFlags
.Type) != 0)
392
if ((flags &
PrototypeFlags
.NameMask) !=
PrototypeFlags
.NoName)
400
switch (flags &
PrototypeFlags
.NameMask)
402
case
PrototypeFlags
.FullName:
405
goto case
PrototypeFlags
.BaseName;
407
case
PrototypeFlags
.TypeName:
410
goto case
PrototypeFlags
.BaseName;
412
case
PrototypeFlags
.BaseName:
416
case
PrototypeFlags
.NoName:
421
if ((flags & (
PrototypeFlags
.ParameterNames |
PrototypeFlags
.ParameterTypes)) != 0)
436
private void AppendPropertyPrototype(StringBuilder builder, IPropertySymbol symbol,
PrototypeFlags
flags, string baseName)
438
if ((flags &
PrototypeFlags
.Type) != 0)
442
if ((flags &
PrototypeFlags
.NameMask) !=
PrototypeFlags
.NoName)
448
switch (flags &
PrototypeFlags
.NameMask)
450
case
PrototypeFlags
.FullName:
453
goto case
PrototypeFlags
.BaseName;
455
case
PrototypeFlags
.TypeName:
458
goto case
PrototypeFlags
.BaseName;
460
case
PrototypeFlags
.BaseName:
464
AppendParametersPrototype(builder, symbol.Parameters,
PrototypeFlags
.ParameterTypes |
PrototypeFlags
.ParameterNames);
476
private void AppendVariablePrototype(StringBuilder builder, IFieldSymbol symbol,
PrototypeFlags
flags, string baseName)
478
if ((flags &
PrototypeFlags
.Type) != 0)
482
if ((flags &
PrototypeFlags
.NameMask) !=
PrototypeFlags
.NoName)
488
switch (flags &
PrototypeFlags
.NameMask)
490
case
PrototypeFlags
.FullName:
493
goto case
PrototypeFlags
.BaseName;
495
case
PrototypeFlags
.TypeName:
498
goto case
PrototypeFlags
.BaseName;
500
case
PrototypeFlags
.BaseName:
506
private void AppendParametersPrototype(StringBuilder builder, ImmutableArray<IParameterSymbol> parameters,
PrototypeFlags
flags)
522
private void AppendParameterPrototype(StringBuilder builder,
PrototypeFlags
flags, IParameterSymbol parameter)
525
if ((flags &
PrototypeFlags
.ParameterTypes) != 0)
544
if ((flags &
PrototypeFlags
.ParameterNames) != 0)
Microsoft.VisualStudio.LanguageServices.Implementation (4)
CodeModel\AbstractCodeModelService.cs (1)
1302
public abstract string GetPrototype(SyntaxNode node, ISymbol symbol,
PrototypeFlags
flags);
CodeModel\ExternalElements\AbstractExternalCodeElement.cs (1)
317
=> CodeModelService.GetPrototype(null, LookupSymbol(), (
PrototypeFlags
)flags);
CodeModel\ICodeModelService.cs (1)
376
string GetPrototype(SyntaxNode node, ISymbol symbol,
PrototypeFlags
flags);
CodeModel\InternalElements\AbstractCodeElement.cs (1)
270
=> CodeModelService.GetPrototype(LookupNode(), LookupSymbol(), (
PrototypeFlags
)flags);