20 references to ValueInternal
Microsoft.CodeAnalysis (20)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (1)
387
info.Id = attribute.CommonConstructorArguments[1].
ValueInternal
as string;
Emit\NoPia\CommonEmbeddedType.cs (1)
168
string defaultMember = constructorArguments[0].
ValueInternal
as string;
MetadataReader\PEModule.cs (5)
1319
if (typeCode == SerializationTypeCode.String && isProperty && value.
ValueInternal
is string stringValue)
1364
isOptional = (bool)namedArgValues.nameValuePair.Value.
ValueInternal
!;
1525
allowMultiple = (bool)namedArgValues.nameValuePair.Value.
ValueInternal
!;
1528
inherited = (bool)namedArgValues.nameValuePair.Value.
ValueInternal
!;
2149
if (typeCode == SerializationTypeCode.String && isProperty && value.
ValueInternal
is string stringValue)
Symbols\Attributes\CommonAttributeData.cs (12)
276
string? diagnosticId = this.CommonConstructorArguments[0].
ValueInternal
as string;
288
urlFormat = value.
ValueInternal
as string;
317
message = (string?)args[0].
ValueInternal
;
321
Debug.Assert(args[1].
ValueInternal
is object);
322
isError = (bool)args[1].
ValueInternal
!;
332
diagnosticId = value.
ValueInternal
as string;
336
urlFormat = value.
ValueInternal
as string;
374
Debug.Assert(args[1].
ValueInternal
is object);
375
message = (string?)args[0].
ValueInternal
;
376
isError = ((int)args[1].
ValueInternal
! == 1);
571
Debug.Assert(positionalArg.
ValueInternal
is object);
572
var validOn = (AttributeTargets)positionalArg.
ValueInternal
;
Symbols\TypedConstant.cs (1)
79
object? result =
ValueInternal
;