21 references to ValueInternal
Microsoft.CodeAnalysis (21)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (1)
387info.Id = attribute.CommonConstructorArguments[1].ValueInternal as string;
Emit\NoPia\CommonEmbeddedType.cs (1)
168string defaultMember = constructorArguments[0].ValueInternal as string;
MetadataReader\PEModule.cs (5)
1320if (typeCode == SerializationTypeCode.String && isProperty && value.ValueInternal is string stringValue) 1369isOptional = (bool)namedArgValues.nameValuePair.Value.ValueInternal!; 1530allowMultiple = (bool)namedArgValues.nameValuePair.Value.ValueInternal!; 1533inherited = (bool)namedArgValues.nameValuePair.Value.ValueInternal!; 2154if (typeCode == SerializationTypeCode.String && isProperty && value.ValueInternal is string stringValue)
Symbols\Attributes\CommonAttributeData.cs (13)
276string? diagnosticId = this.CommonConstructorArguments[0].ValueInternal as string; 290urlFormat = value.ValueInternal as string; 295message = value.ValueInternal as string; 324message = (string?)args[0].ValueInternal; 328Debug.Assert(args[1].ValueInternal is object); 329isError = (bool)args[1].ValueInternal!; 339diagnosticId = value.ValueInternal as string; 343urlFormat = value.ValueInternal as string; 381Debug.Assert(args[1].ValueInternal is object); 382message = (string?)args[0].ValueInternal; 383isError = ((int)args[1].ValueInternal! == 1); 578Debug.Assert(positionalArg.ValueInternal is object); 579var validOn = (AttributeTargets)positionalArg.ValueInternal;
Symbols\TypedConstant.cs (1)
79object? result = ValueInternal;