21 references to ValueInternal
Microsoft.CodeAnalysis (21)
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)
1320
if (typeCode == SerializationTypeCode.String && isProperty && value.
ValueInternal
is string stringValue)
1369
isOptional = (bool)namedArgValues.nameValuePair.Value.
ValueInternal
!;
1530
allowMultiple = (bool)namedArgValues.nameValuePair.Value.
ValueInternal
!;
1533
inherited = (bool)namedArgValues.nameValuePair.Value.
ValueInternal
!;
2154
if (typeCode == SerializationTypeCode.String && isProperty && value.
ValueInternal
is string stringValue)
Symbols\Attributes\CommonAttributeData.cs (13)
276
string? diagnosticId = this.CommonConstructorArguments[0].
ValueInternal
as string;
290
urlFormat = value.
ValueInternal
as string;
295
message = value.
ValueInternal
as string;
324
message = (string?)args[0].
ValueInternal
;
328
Debug.Assert(args[1].
ValueInternal
is object);
329
isError = (bool)args[1].
ValueInternal
!;
339
diagnosticId = value.
ValueInternal
as string;
343
urlFormat = value.
ValueInternal
as string;
381
Debug.Assert(args[1].
ValueInternal
is object);
382
message = (string?)args[0].
ValueInternal
;
383
isError = ((int)args[1].
ValueInternal
! == 1);
578
Debug.Assert(positionalArg.
ValueInternal
is object);
579
var validOn = (AttributeTargets)positionalArg.
ValueInternal
;
Symbols\TypedConstant.cs (1)
79
object? result =
ValueInternal
;