10 overrides of CommonConstructorArguments
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Attributes\PEAttributeData.cs (1)
56protected internal override ImmutableArray<TypedConstant> CommonConstructorArguments
Symbols\Attributes\RetargetingAttributeData.cs (1)
42protected internal override ImmutableArray<TypedConstant> CommonConstructorArguments => _constructorArguments;
Symbols\Attributes\SourceAttributeData.cs (1)
202protected internal sealed override ImmutableArray<TypedConstant> CommonConstructorArguments
Symbols\Source\SynthesizedAttributeData.cs (2)
49protected internal override ImmutableArray<TypedConstant> CommonConstructorArguments => _arguments; 79protected internal override ImmutableArray<TypedConstant> CommonConstructorArguments => _original.CommonConstructorArguments;
Microsoft.CodeAnalysis.VisualBasic (4)
Symbols\Attributes\PEAttributeData.vb (1)
72Protected Overrides ReadOnly Property CommonConstructorArguments As ImmutableArray(Of TypedConstant)
Symbols\Attributes\RetargetingAttributeData.vb (1)
58Protected Overrides ReadOnly Property CommonConstructorArguments As ImmutableArray(Of TypedConstant)
Symbols\Attributes\SourceAttributeData.vb (1)
71Protected Overrides ReadOnly Property CommonConstructorArguments As ImmutableArray(Of TypedConstant)
Symbols\SynthesizedSymbols\SynthesizedAttributeData.vb (1)
87Protected Overrides ReadOnly Property CommonConstructorArguments As ImmutableArray(Of TypedConstant)
Mvc.Api.Analyzers.Test (1)
DeclaredApiResponseMetadataTest.cs (1)
161protected override ImmutableArray<TypedConstant> CommonConstructorArguments => throw new System.NotImplementedException();
48 references to CommonConstructorArguments
Microsoft.CodeAnalysis (28)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (2)
380if (attribute.CommonConstructorArguments.Length < 2) 387info.Id = attribute.CommonConstructorArguments[1].ValueInternal as string;
Symbols\Attributes\CommonAttributeData.cs (16)
42public ImmutableArray<TypedConstant> ConstructorArguments { get { return CommonConstructorArguments; } } 149var constructorArgs = this.CommonConstructorArguments; 205ImmutableArray<TypedConstant> args = this.CommonConstructorArguments; 242long value = this.CommonConstructorArguments[0].DecodeValue<long>(SpecialType.System_Int64); 275Debug.Assert(this.CommonConstructorArguments.Length == 1); 276string? diagnosticId = this.CommonConstructorArguments[0].ValueInternal as string; 305ImmutableArray<TypedConstant> args = this.CommonConstructorArguments; 362var args = this.CommonConstructorArguments; 388Debug.Assert(this.CommonConstructorArguments.Length == 0); 403if (attribute.CommonConstructorArguments.Length == 1) 408options = (MethodImplOptions)attribute.CommonConstructorArguments[0].DecodeValue<short>(SpecialType.System_Int16); 412options = attribute.CommonConstructorArguments[0].DecodeValue<MethodImplOptions>(SpecialType.System_Enum); 428int position = attribute.CommonConstructorArguments.Length; 470LayoutKind kind = attribute.CommonConstructorArguments[0].DecodeValue<LayoutKind>(SpecialType.System_Enum); 484int position = attribute.CommonConstructorArguments.Length; 552return DecodeAttributeUsageAttribute(this.CommonConstructorArguments[0], this.CommonNamedArguments);
Symbols\Attributes\CommonAttributeDataComparer.cs (3)
34attr1.CommonConstructorArguments.SequenceEqual(attr2.CommonConstructorArguments) && 46hash = Hash.Combine(GetHashCodeForConstructorArguments(attr.CommonConstructorArguments), hash);
Symbols\Attributes\MarshalAsAttributeDecoder.cs (7)
104unmanagedType = (UnmanagedType)attribute.CommonConstructorArguments[0].DecodeValue<short>(SpecialType.System_Int16); 108unmanagedType = attribute.CommonConstructorArguments[0].DecodeValue<UnmanagedType>(SpecialType.System_Enum); 125int position = arguments.Attribute.CommonConstructorArguments.Length; 179int position = arguments.Attribute.CommonConstructorArguments.Length; 216int position = arguments.Attribute.CommonConstructorArguments.Length; 305int position = arguments.Attribute.CommonConstructorArguments.Length; 371int position = arguments.Attribute.CommonConstructorArguments.Length;
Microsoft.CodeAnalysis.CSharp (11)
Emitter\Model\AttributeDataAdapter.cs (2)
21var commonArgs = this.CommonConstructorArguments; 76return this.CommonConstructorArguments.Length;
Symbols\Attributes\AttributeData.cs (9)
57get { return this.CommonConstructorArguments; } 141if (!this.CommonConstructorArguments.Any() & !this.CommonNamedArguments.Any()) 154foreach (var constructorArgument in this.CommonConstructorArguments) 345var ctorArgs = this.CommonConstructorArguments; 576TypedConstant ctorArgument = this.CommonConstructorArguments[0]; 601TypedConstant ctorArgument = this.CommonConstructorArguments[0]; 627var guidString = (string?)this.CommonConstructorArguments[0].ValueInternal; 644var builderType = (TypeSymbol?)CommonConstructorArguments[0].ValueInternal; 645var methodName = (string?)CommonConstructorArguments[1].ValueInternal;
Microsoft.CodeAnalysis.VisualBasic (9)
Emit\AttributeDataAdapter.vb (2)
17Return CommonConstructorArguments.SelectAsArray(Function(arg) CreateMetadataExpression(arg, context)) 44Return CommonConstructorArguments.Length
Symbols\Attributes\AttributeData.vb (7)
48Return Me.CommonConstructorArguments 104If Not Me.CommonConstructorArguments.Any() And Not Me.CommonNamedArguments.Any() Then 116For Each constructorArgument In Me.CommonConstructorArguments 233Dim firstArg As TypedConstant = Me.CommonConstructorArguments.FirstOrDefault() 437Dim ctorArgument As TypedConstant = Me.CommonConstructorArguments(0) 464Dim ctorArgument As TypedConstant = Me.CommonConstructorArguments(0) 482Dim ctorArgument As TypedConstant = Me.CommonConstructorArguments(0)