本文整理汇总了C#中Analyzer.ResolveProperty方法的典型用法代码示例。如果您正苦于以下问题:C# Analyzer.ResolveProperty方法的具体用法?C# Analyzer.ResolveProperty怎么用?C# Analyzer.ResolveProperty使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Analyzer
的用法示例。
在下文中一共展示了Analyzer.ResolveProperty方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Analyze
public void Analyze(NamedActualParam/*!*/node, Analyzer/*!*/ analyzer, DType/*!*/ propertiesDeclarer)
{
// TODO: Named parameters can target the non-static, public, and read-write fields
// or properties of the attribute class
bool visibility_check;
if (!propertiesDeclarer.IsUnknown)
{
property = analyzer.ResolveProperty(propertiesDeclarer, node.Name, node.Span, false, null, null, out visibility_check);
}
node.expression = node.Expression.Analyze(analyzer, ExInfoFromParent.DefaultExInfo).Literalize();
}
示例2: Analyze
internal override Evaluation Analyze(Analyzer/*!*/ analyzer, ExInfoFromParent info)
{
base.Analyze(analyzer, info);
property = analyzer.ResolveProperty(type, propertyName, position, true, analyzer.CurrentType, analyzer.CurrentRoutine, out runtimeVisibilityCheck);
return new Evaluation(this);
}