3 instantiations of ContingentProperties
mscorlib (3)
system\threading\Tasks\Task.cs (3)
323
m_contingentProperties = props = new
ContingentProperties
(); // can't have children, so just instantiate directly
1510
return m_contingentProperties = new
ContingentProperties
();
1515
private static readonly Func<ContingentProperties> s_createContingentProperties = () => new
ContingentProperties
();
26 references to ContingentProperties
mscorlib (26)
system\threading\Tasks\Future.cs (1)
485
var
cp = m_contingentProperties;
system\threading\Tasks\Task.cs (25)
311
internal volatile
ContingentProperties
m_contingentProperties;
322
ContingentProperties
props;
674
ContingentProperties
props = EnsureContingentPropertiesInitialized(needsProtection: false);
1005
var
props = EnsureContingentPropertiesInitialized(needsProtection: true);
1028
var
props = EnsureContingentPropertiesInitialized(needsProtection: true);
1477
var
props = m_contingentProperties;
1490
internal
ContingentProperties
EnsureContingentPropertiesInitialized(bool needsProtection)
1492
var
props = m_contingentProperties;
1501
private
ContingentProperties
EnsureContingentPropertiesInitializedCore(bool needsProtection)
1505
return LazyInitializer.EnsureInitialized<
ContingentProperties
>(ref m_contingentProperties, s_createContingentProperties);
1515
private static readonly Func<
ContingentProperties
> s_createContingentProperties = () => new ContingentProperties();
1525
var
props = m_contingentProperties;
1669
var
contingentProps = EnsureContingentPropertiesInitialized(needsProtection: true);
1716
var
props = m_contingentProperties;
1728
var
props = m_contingentProperties;
1765
var
props = m_contingentProperties;
1866
var
cp = m_contingentProperties;
2028
var
props = EnsureContingentPropertiesInitialized(needsProtection: true);
2135
var
props = m_contingentProperties;
2223
var
props = m_contingentProperties;
2327
var
cp = m_contingentProperties;
2375
var
props = m_contingentProperties;
2420
var
props = m_contingentProperties;
3488
var
props = EnsureContingentPropertiesInitialized(needsProtection: true);
3550
var
cp = m_contingentProperties;