18 overrides of CommonConstructorArguments
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAttributeData.cs (1)
22
protected override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _constructorArguments;
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAttributeData.cs (1)
22
protected override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _constructorArguments;
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAttributeData.cs (1)
22
protected override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _constructorArguments;
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAttributeData.cs (1)
22
protected override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _constructorArguments;
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Attributes\PEAttributeData.cs (1)
57
protected internal override ImmutableArray<TypedConstant>
CommonConstructorArguments
Symbols\Attributes\RetargetingAttributeData.cs (1)
42
protected internal override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _constructorArguments;
Symbols\Attributes\SourceAttributeData.cs (1)
202
protected internal sealed override ImmutableArray<TypedConstant>
CommonConstructorArguments
Symbols\Source\SynthesizedAttributeData.cs (2)
49
protected internal override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _arguments;
79
protected internal override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _original.CommonConstructorArguments;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAttributeData.cs (1)
22
protected override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _constructorArguments;
Microsoft.CodeAnalysis.VisualBasic (4)
Symbols\Attributes\PEAttributeData.vb (1)
72
Protected Overrides ReadOnly Property
CommonConstructorArguments
As ImmutableArray(Of TypedConstant)
Symbols\Attributes\RetargetingAttributeData.vb (1)
58
Protected Overrides ReadOnly Property
CommonConstructorArguments
As ImmutableArray(Of TypedConstant)
Symbols\Attributes\SourceAttributeData.vb (1)
71
Protected Overrides ReadOnly Property
CommonConstructorArguments
As ImmutableArray(Of TypedConstant)
Symbols\SynthesizedSymbols\SynthesizedAttributeData.vb (1)
87
Protected Overrides ReadOnly Property
CommonConstructorArguments
As ImmutableArray(Of TypedConstant)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAttributeData.cs (1)
22
protected override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _constructorArguments;
Mvc.Api.Analyzers.Test (1)
DeclaredApiResponseMetadataTest.cs (1)
161
protected override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> throw new System.NotImplementedException();
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAttributeData.cs (1)
22
protected override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _constructorArguments;
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAttributeData.cs (1)
22
protected override ImmutableArray<TypedConstant>
CommonConstructorArguments
=> _constructorArguments;
48 references to CommonConstructorArguments
Microsoft.CodeAnalysis (28)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (2)
380
if (attribute.
CommonConstructorArguments
.Length < 2)
387
info.Id = attribute.
CommonConstructorArguments
[1].ValueInternal as string;
Symbols\Attributes\CommonAttributeData.cs (16)
42
public ImmutableArray<TypedConstant> ConstructorArguments { get { return
CommonConstructorArguments
; } }
149
var constructorArgs = this.
CommonConstructorArguments
;
205
ImmutableArray<TypedConstant> args = this.
CommonConstructorArguments
;
242
long value = this.
CommonConstructorArguments
[0].DecodeValue<long>(SpecialType.System_Int64);
275
Debug.Assert(this.
CommonConstructorArguments
.Length == 1);
276
string? diagnosticId = this.
CommonConstructorArguments
[0].ValueInternal as string;
312
ImmutableArray<TypedConstant> args = this.
CommonConstructorArguments
;
369
var args = this.
CommonConstructorArguments
;
395
Debug.Assert(this.
CommonConstructorArguments
.Length == 0);
410
if (attribute.
CommonConstructorArguments
.Length == 1)
415
options = (MethodImplOptions)attribute.
CommonConstructorArguments
[0].DecodeValue<short>(SpecialType.System_Int16);
419
options = attribute.
CommonConstructorArguments
[0].DecodeValue<MethodImplOptions>(SpecialType.System_Enum);
435
int position = attribute.
CommonConstructorArguments
.Length;
477
LayoutKind kind = attribute.
CommonConstructorArguments
[0].DecodeValue<LayoutKind>(SpecialType.System_Enum);
491
int position = attribute.
CommonConstructorArguments
.Length;
559
return DecodeAttributeUsageAttribute(this.
CommonConstructorArguments
[0], this.CommonNamedArguments);
Symbols\Attributes\CommonAttributeDataComparer.cs (3)
34
attr1.
CommonConstructorArguments
.SequenceEqual(attr2.
CommonConstructorArguments
) &&
46
hash = Hash.Combine(GetHashCodeForConstructorArguments(attr.
CommonConstructorArguments
), hash);
Symbols\Attributes\MarshalAsAttributeDecoder.cs (7)
104
unmanagedType = (UnmanagedType)attribute.
CommonConstructorArguments
[0].DecodeValue<short>(SpecialType.System_Int16);
108
unmanagedType = attribute.
CommonConstructorArguments
[0].DecodeValue<UnmanagedType>(SpecialType.System_Enum);
125
int position = arguments.Attribute.
CommonConstructorArguments
.Length;
179
int position = arguments.Attribute.
CommonConstructorArguments
.Length;
216
int position = arguments.Attribute.
CommonConstructorArguments
.Length;
305
int position = arguments.Attribute.
CommonConstructorArguments
.Length;
371
int position = arguments.Attribute.
CommonConstructorArguments
.Length;
Microsoft.CodeAnalysis.CSharp (11)
Emitter\Model\AttributeDataAdapter.cs (2)
21
var commonArgs = this.
CommonConstructorArguments
;
76
return this.
CommonConstructorArguments
.Length;
Symbols\Attributes\AttributeData.cs (9)
55
get { return this.
CommonConstructorArguments
; }
139
if (this.
CommonConstructorArguments
.IsEmpty && this.CommonNamedArguments.IsEmpty)
152
foreach (var constructorArgument in this.
CommonConstructorArguments
)
343
var ctorArgs = this.
CommonConstructorArguments
;
574
TypedConstant ctorArgument = this.
CommonConstructorArguments
[0];
599
TypedConstant ctorArgument = this.
CommonConstructorArguments
[0];
625
var guidString = (string?)this.
CommonConstructorArguments
[0].ValueInternal;
642
var builderType = (TypeSymbol?)
CommonConstructorArguments
[0].ValueInternal;
643
var methodName = (string?)
CommonConstructorArguments
[1].ValueInternal;
Microsoft.CodeAnalysis.VisualBasic (9)
Emit\AttributeDataAdapter.vb (2)
17
Return
CommonConstructorArguments
.SelectAsArray(Function(arg) CreateMetadataExpression(arg, context))
44
Return
CommonConstructorArguments
.Length
Symbols\Attributes\AttributeData.vb (7)
48
Return Me.
CommonConstructorArguments
104
If Not Me.
CommonConstructorArguments
.Any() And Not Me.CommonNamedArguments.Any() Then
116
For Each constructorArgument In Me.
CommonConstructorArguments
233
Dim firstArg As TypedConstant = Me.
CommonConstructorArguments
.FirstOrDefault()
437
Dim ctorArgument As TypedConstant = Me.
CommonConstructorArguments
(0)
464
Dim ctorArgument As TypedConstant = Me.
CommonConstructorArguments
(0)
482
Dim ctorArgument As TypedConstant = Me.
CommonConstructorArguments
(0)