11 references to AsString
Microsoft.Analyzers.Local (11)
ApiLifecycle\Model\Assembly.cs (1)
18Name = value[nameof(Name)].AsString ?? string.Empty;
ApiLifecycle\Model\Field.cs (2)
16Member = value[nameof(Member)].AsString ?? string.Empty; 18var enumString = value[nameof(Stage)].AsString;
ApiLifecycle\Model\Method.cs (2)
16Member = value[nameof(Member)].AsString ?? string.Empty; 18var enumString = value[nameof(Stage)].AsString;
ApiLifecycle\Model\Prop.cs (2)
16Member = value[nameof(Member)].AsString ?? string.Empty; 18var stageString = value[nameof(Stage)].AsString;
ApiLifecycle\Model\TypeDef.cs (4)
21ModifiersAndName = Utils.StripBaseAndConstraints(value["Type"].AsString ?? string.Empty); 22Constraints = Utils.GetConstraints(value["Type"].AsString ?? string.Empty); 23BaseTypes = Utils.GetBaseTypes(value["Type"].AsString ?? string.Empty); 24_ = Enum.TryParse<Stage>(value[nameof(Stage)].AsString, out var stage);